How can I check the folder permissions in ubuntu server 12.04?
Right now, I know that I can change permissions for example with:
sudo chmod 550 directory
I wonder how I can check the actual folder permission.
You can use the following command:
ls -l directory
or
stat directory
or, if you want to see only the permissions in numeric (octal) format:
stat -c %a directory