PreviousUpNext

5.5.54  Set file mode

Set file mode:

    eval:  `chmod 644 foo.txt`;

Set file mode, II:

    eval:  bin_sh' "chmod 644 foo.txt";

Set file mode, III:

    winix::process::bin_sh' "chmod 644 foo.txt";

Set file mode, IV:

    posix::chmod ("foo.txt", posix::mode_0644);

Set file mode, V:

    posix::chmod ("foo.txt", posix::s::flags [ posix::s::iwusr, posix::s::irusr, posix::s::irgrp, posix::s::iroth ]);

Set file mode, VI:

    include package   posix;
    chmod ("foo.txt", s::flags [ s::iwusr, s::irusr, s::irgrp, s::iroth ]);

Comments and suggestions to: bugs@mythryl.org

PreviousUpNext