Hiprup
DevOps

What are file permissions in Linux? Explain `chmod`, `chown`, special bits (SUID, SGID, sticky), and the meaning of 755 / 644 / 600.

chmod sets r/w/x for owner/group/others. 755=rwxr-xr-x (executables/dirs), 644=rw-r--r-- (configs), 600=rw------- (SSH keys). chown changes owner. SUID = runs as owner (passwd). SGID = group inheritance on dirs. Sticky bit = only owner can delete (used on /tmp).

Loading question...
What are file permissions in Linux? Explain `chmod`, `chown`, special bits (SUID, SGID, sticky), and the meaning of 755 / 644 / 600. | Hiprup