Change files back to 644 and folders back to 755 with chmod

If you want to get rid of the nasty 777 on all files/folders see:

find /path/to/base/dir -type d -print0 | xargs -0 chmod 755
find /path/to/base/dir -type f -print0 | xargs -0 chmod 644

This entry was posted in CentOS, Linux and tagged , , , . Bookmark the permalink.

Leave a Reply