Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
96
rated 0 times [  96] [ 0]  / answers: 1 / hits: 235651  / 3 Years ago, thu, september 9, 2021, 6:24:46

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.


More From » server

 Answers
1

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

[#29949] Friday, September 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
trousransla

Total Points: 285
Total Questions: 112
Total Answers: 113

Location: Spain
Member since Thu, Dec 23, 2021
2 Years ago
;