namei -l <path> displays Unix permissions of each path segment and prints their modes and owners. This is very useful when troubleshooting file permission issues.