prev
Permissions
next
Using "+" and "-" you can change the permissions
e.g. "file" readable by all & "file2" not writable by group and other
%
chmod a+r file
%
chmod go-w file2
The "-R" option allows you to do things recursively
e.g. contents of subdirectory readable by all
%
chmod -R a+r mySubdirectory
The
X
changes execution bit for diretories only
e.g. subdirectory readable by all and any directories inside of it enterable by all
%
chmod -R a+rX mySubdirectory