File Permissions

chmod 775 file
Change mode of file to 775
chmod -R 600 folder
Recursively chmod folder to 600
chown user:group file
Change file owner to user and group to group
First digit is owner permission, second is group and third is everyone.
4
read (r)
2
write (w)
1
execute (x)
Comments