Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 485  / 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
rieency questions
Wed, Aug 25, 21, 15:17, 3 Years ago
Wed, Jun 23, 21, 04:37, 3 Years ago
Fri, Sep 30, 22, 12:07, 2 Years ago
Thu, Feb 24, 22, 00:50, 2 Years ago
Mon, Mar 28, 22, 13:28, 2 Years ago
;