Skip to content
Opsfolk

Linux and the terminal, topic 3 of 78

Files, users and permissions

Every file has an owner, a group and permissions for each: read, write and execute. ls -l shows them, chmod and chown change them, and sudo runs one command as root.

It matters because most production mistakes and breaches touch it: a key readable by everyone, a service running as root, a deploy that cannot write its own directory. Learn the file system's layout too: /etc for configuration, /var/log for logs, /home for people.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress