Security tip: change permissions of files to 644 and directories to 755

For files use:


user@server:~/web$ find ~ -type f -exec chmod 644 {} \;

For directories use:


user@server:~/web$ find ~ -type d -exec chmod 755 {} \;

Tags

Security tip: change permissions of files to 644 and directories to 755