Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Right now, I know that I can change persmissions for example with :

sudo chmod 550 directory

I wonder how I can check the actual folder permission.

share|improve this question
    
Do you specifically need to see the permissions in octal (like 550), or is any format that shows them unambiguously sufficient? (If you don't need them in octal, then Radu Rădeanu's way is the normal way to do this.) –  Eliah Kagan Aug 14 '13 at 9:54
    
is there a way to see them octal ? have you heard about that? right now it displays : lrwxrwxrwx , so it means : read and write for everybody, correct? –  Private Aug 14 '13 at 9:59
    
Yes, there are a few techniques for this. See How can I get octal file permissions from command line? –  Eliah Kagan Aug 14 '13 at 10:00
    
even more stupid :D haha. thank you very much. I suddenly liked this way much more :) –  Private Aug 14 '13 at 10:01

1 Answer 1

up vote 5 down vote accepted

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.