Site icon New Generation Enterprise Linux

Stop guessing why your files have a plus sign in ls

Permissions & Security (Chmod/Chown/ACLs/SELinux/AppArmor)

Stop guessing why your files have a plus sign in ls

đź§© The Challenge

Ever run an ls -l and see a plus sign at the end of the permission string, but you had no clue how to actually see who else has access? It drives me crazy when I think a directory is locked down only to find out there’s an ACL I completely missed.

đź’ˇ The Fix

Use getfacl to reveal those hidden access control list entries that chmod ignores. It saves you from assuming the standard Unix permissions are the whole story.

getfacl -R /path/to/directory

⚙️ Why It Works

Standard permissions only handle the owner, group, and others, but ACLs let you tack on specific users or groups to a file. Running this recursively lets you spot those lingering permissions that shouldn’t be there.

🚀 Pro-Tip: Use setfacl -b to nuke all ACLs and get back to sanity when things get too messy.

Linux Tips & Tricks | © ngelinux.com | 11/20/2026

0 0 votes
Article Rating
Exit mobile version