Revision: 50703
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 31, 2011 01:04 by klovera
Initial Code
find . -type f -exec chmod 644 {} ; find . -type d -exec chmod 755 {} ;
Initial URL
Initial Description
When modifying file permissions it is sometimes necessary to go back to the drawing board and set back to the default permissions. The following command can be used via ssh and takes a couple seconds vs trying to do this via ftp file by file (which can take a very long time depending on the size of your website). Change to the directory you want changed, then run these. Will set permission for all files to 644 and all directories to 755.
Initial Title
Changing back to default permissions
Initial Tags
Bash
Initial Language
Bash