Search

Users and Privileges

image

4 = read

2 = write

1 = execute

so 6 is 4+2 which means read and write privilege.

7 is 4+2+1 which means all 3 privileges.

So all perms for everyone:

chmod 777 filename

^gives all perms to a file

or

chmod +x foldername

might need sudo