chmod 755 Explained (rwxr-xr-x)
755 gives the owner full access and everyone else read and execute. Change any bit below to compare.
Help shape chmod 755 Explained (rwxr-xr-x)
The bug you just noticed will fade in 3 minutes. The feature idea will vanish after your next tab switch. Crazy peps don't suffer silently.
Frequently Asked Questions
For directories, shell scripts, CLI binaries and web server folders that others need to read or enter but not modify.
Run find . -type d -exec chmod 755 {} + so directories get 755 while files keep their own mode, usually 644.
Yes for directories. Files inside should normally be 644, and anything with secrets 640 or 600.
u=rwx,go=rx, shown by ls -l as -rwxr-xr-x for files or drwxr-xr-x for directories.