Skip to content

File permissions in Linux – the chmod and chown commands

File and folder permissions in Linux. How to read the output of ls -l, what r, w, x and the numbers 644, 755 and 600 mean, how to change permissions with chmod and the owner with chown, how to set the right permissions for a website and why you should not use 777. Tested on Debian 12.