Pcornel
Linux · Security

ACL (Access Control List)

Cheat sheet · https://pcornel.dk/topic.php?topic=2848

Back to the Topic

Answer

ACLs (POSIX access control lists) extend file permissions with entries for named users and groups and inheritable defaults.

Remember

Review with getfacl -R; watch the mask, which limits named entries. Backups and copies must preserve ACLs.

First checks

  • sestatus / aa-status — SELinux or AppArmor state
  • ss -tulpn — listening services
  • journalctl -u sshd -g 'Failed' — failed logins
  • ausearch -m avc,user_login -ts today — audit events (auditd)

Verify in this order

ACL entries → mask limits them → effective rights enforced

Where it usually breaks

First mismatch in identity/group resolution → Unix mode/ACL/capability → mount/sandbox constraint → SELinux/AppArmor policy → credential/TLS trust → protected operation; preserve identity/native diagnostic/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2848

Confirmation

Confirm action

Continue?