I came across a situation to run
chmod 755 [folder] and
chmod 644 [file] on my php dev folder. The following would handle all files and folders of current working folder.
sudo find . -type f -exec chmod 644 {} \;
sudo find . -type d -exec chmod 755 {} \;
No comments:
Post a Comment