proper permission for file in web server

for php or general website you should set all directories to 775 and file to 664



find . -type d -exec sudo chmod 2775 {} \;
find . -type f -exec sudo chmod 0664 {} \;

Comments

Popular Posts