Last active
August 29, 2015 14:13
-
-
Save sergii/77cca485ac4ccf59108d to your computer and use it in GitHub Desktop.
chmod on folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apply chmod commands to folder: | |
sudo chmod -R 777 /path/to/directory | |
OR | |
sudo find /home/s/ooma/sp_030315/ -type f -exec chmod 777 {} \; # FOR FILES | |
sudo find /home/s/ooma/sp_030315/ -type d -exec chmod 777 {} \; # FOR DIRECTORIES | |
# Permission rwx | |
7 read, write and execute 111 | |
6 read and write 110 | |
5 read and execute 101 | |
4 read only 100 | |
3 write and execute 011 | |
2 write only 010 | |
1 execute only 001 | |
0 none 000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment