To set permissions for a file or directory
Notes
chmod [-fR] mode file ...
Argument | Description |
---|---|
-f | Suppress error messages on files where permissions could not be successfully modified. |
-R | Change the modes of the file hierarchies rooted in the files instead of just the files themselves. |
mode | The file-mode permissions to apply to the file. For more information on file modes, see chmod(1) |
file | The file for which the permissions are to be changed. |
Note
Related Topics