Where to start First steps track · 15 stages
Linux Labs

Users and permissions

12 articles, grouped by kind; the order follows the tracks.

Concepts 5

  • File permissions

    The Unix permission model — read/write/execute, owner/group/other, special bits.

    ls -lnamei -lchmod

    6 min
  • Users and groups

    Linux accounts and groups; usermod -G without -a replaces all of a user's supplementary groups instead of adding one.

    id aliceuseradd -musermod -aG

    5 min
  • umask — the mask for new files and directories

    umask is a process mask: which permissions to remove from a new file (from 666) and directory (from 777).

    umaskumask -Stouch

    6 min
  • Special permission bits: setuid, setgid, sticky

    Special permission bits: setuid and setgid run a program as its owner; setgid and sticky shape shared directories.

    ls -ldchmodstat -c

    7 min
  • Extended permissions (ACL)

    Flexible rights beyond rwx — getfacl/setfacl, per-user and per-group grants.

    getfacl filesetfacl -msetfacl -d

    4 min

Commands 7

Nothing found. Try a shorter query.

Loading…