Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 486  / 2 Years ago, tue, september 20, 2022, 10:13:03

I did a sudo chmod a+rwx /usr/local/java. After listing the ls -la, the (.) permission when from drwxr-xr-x to drwxrwxrwx. How do I change it back?


More From » root

 Answers
2

Maybe this explains the magic:




drwxr-xr-x




translates in




(rwx)(r-x) (r-x)




translates in




(421) (401) (401)




translates in




755




So the answer is



sudo chmod 755 /usr/local/java

[#31425] Tuesday, September 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rieency

Total Points: 299
Total Questions: 116
Total Answers: 111

Location: Wales
Member since Tue, Dec 14, 2021
2 Years ago
;