What are the standard permissions for web files and folders?
Standard safe practice: 755 (rwxr-xr-x) for directories, and 644 (rw-r--r--) for static files.
Calculate octal (755, 644) and symbolic (rwxr-xr-x) Linux file permissions with visual toggles.
Calculates Linux/Unix file permissions interactively, toggling Read, Write, and Execute bits to generate octal (755, 644) and symbolic (rwxr-xr-x) syntax.
Permission_Octal = (Read × 4) + (Write × 2) + (Execute × 1) evaluated for User, Group, and Others
3-digit octal notation: Owner (User), Group, and Public (Others). Read = 4, Write = 2, Execute = 1.
Inputs: Owner = Read + Write (4+2=6) | Group = Read (4) | Others = Read (4)
Summary: Octal = 644 | Symbolic = -rw-r--r-- | Safe for Web Assets
Standard safe practice: 755 (rwxr-xr-x) for directories, and 644 (rw-r--r--) for static files.
SSH requires private keys to be protected from other users; running 'chmod 600 ~/.ssh/id_rsa' fixes this error.
Special permission bits: SUID (4), SGID (2), and Sticky Bit (1, used on /tmp directories so only owners can delete files).