A practical example
A private directory containing deployment credentials
A deploy account may keep short-lived credential files and helper configuration under one private directory. Mode 700 prevents other ordinary accounts from listing names or traversing into that directory, while leaving the owner able to maintain its contents.
Before saving the change
- Confirm that no service running as another account needs to read the directory.
- Inspect the files inside; directory privacy does not make overly broad file modes a good default.
- Check for ACLs that may grant access beyond the three displayed permission classes.