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

Brian Mniko

Member
Jul 30, 2018
5
0
1
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
619
179
43
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
Staff member
Nov 14, 2017
13,296
1,272
313
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
5
0
1
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
182
65
103
Denmark
cPanel Access Level
Root Administrator
Can you send me the output from following "ls -al" and "lsattr"?