Audit files or directories writable by anyone.
Section: Permissions ACLs and Special Bits
Find world-writable paths
bash
bash
find / -xdev -type d -perm -0002 2>/dev/nullExplanation
Useful for security posture reviews.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Permissions ACLs and Special Bits
Set sticky bit on shared directory
Allow only owners to delete their own files in a shared directory.
Set default ACL on directory
Apply inherited ACL rules to new files and directories.