COHERENT help
This page displays the COHERENT help information for chmod.
Listing of available help pages
chmod -- Change the modes of a file
chmod +modes file
chmod -modes file
Mode may be octal or a comma-separated symbolic list: [which]howperm...[,...]
which:
a User, group, and other permissions
g Group permissions
o Other permissions
u User permissions
Missing which implies that `a', `g', `o', and `u' can be combined.
how:
= Set permissions
+ Add permissions
- Take away permissions
perm:
g Current group permissions
o Current other permissions
r Read
s Setuid on execution
t Sticky bit (save text)
u Current user permissions
w Write
x Execute
chmod() -- Change file-protection modes #include <sys/stat.h> chmod(file, mode) char *file; int mode;