I know that using ls -l \"directory/directory/filename\" tells me the permissions of a file. How do I do the same on a directory?
ls -l \"directory/directory/filename\"
I could obviously use
On OS X you can use:
ls -lead
The e option shows ACLs. And ACLs are very important to knowing what the exact permissions on your system are.