Revision [623]
This is an old revision of CommandChmod made by DavidLee on 2009-06-13 12:24:54.
Command chmod
This command is part of the posix extensions and needs to be imported to be available to the shell.
See Posix Commands
Name
chmod change file permissionsSynopsis
chmod [options] mode[,mode ...] file [file ...]Options
-R
-recursive apply mode changes recursively
Description
The "mode" string specifies the changes to be made to the file permissions. Each file permissions (and if -R is specified all decendant files) are modified according to the mode string. The mode string takes the form [uoa][+-=][rwx]Return Value
Returns 0 if the command executed successfully, 1 if there was an error.CategoryCommands
CommandsPosix