Linux directory permissions set d-------- ( 000)

Brian Mniko

Member
Jul 30, 2018
12
1
3
Tanzania
cPanel Access Level
Root Administrator
Hello team

I have a client directory has change foler permission to d------

What should I do to fix this and if I try to change it gives me these errors

Any advice to fix this please

Thanks
Brian
 
Last edited by a moderator:

andrew.n

Well-Known Member
Jun 9, 2020
965
358
63
EU
cPanel Access Level
Root Administrator
Are you trying to change back the permission as root via SSH? What does chmod 644 foldername do?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
How were you attempting to change permissions? If you were doing so through the UI in cPanel's file manager you wouldn't have root permissions. You'd need to change this to the standard permissions using the the CLI

Code:
chmod 755 directoryname
 

Brian Mniko

Member
Jul 30, 2018
12
1
3
Tanzania
cPanel Access Level
Root Administrator
How were you attempting to change permissions? If you were doing so through the UI in cPanel's file manager you wouldn't have root permissions. You'd need to change this to the standard permissions using the the CLI

Code:
chmod 755 directoryname

Hi

I have tried to change and this is the results

[[email protected]]# chmod 755 public_html
chmod: changing permissions of ‘public_html’: Operation not permitted
[[email protected]]#

Operation not permitted

Kindly advice

Thanks
Brian
 

cPAdminsMichael

Well-Known Member
Dec 19, 2016
187
69
153
Denmark
cPanel Access Level
Root Administrator
Can you send me the output from following "ls -al" and "lsattr"?