Change directory permission from 000 to 0755

0

I’ve set 000 permission to my server’s directory. Now I’m not able to perform any operation on this directory.

I tried to change permission to 0755 using filezilla but I’m getting Access Denied error.

I also tried to change permission from cPanel - file manager but I’m getting same error.

How can I reset the permissions of this directory.

user535499

Posted 2015-12-19T05:53:13.840

Reputation:

1did you try command line sudo ? In this way you can become root (if you are a sudo-er) and then (I think) root can change the permissions: sudo chmod 0755 /mydir – gogoud – 2015-12-19T07:54:58.633

This must be it, because I can easily change my perms from 755 to 000 and back, without any problems, on both files and dirs; I just tested it. – MariusMatutiae – 2015-12-19T08:09:29.760

@gogoud I changed permission using filezilla. – None – 2015-12-19T08:56:41.003

@MariusMatutiae Do you know solution? than pls explain. – None – 2015-12-19T09:24:51.480

No, what I am saying is that I cannot reproduce your problem. You should try what gogoud suggested. – MariusMatutiae – 2015-12-19T11:46:38.793

@gogoud : As you suggest, I tried to connect ftp using terminal and I'm getting same error. Permission Denied. – None – 2015-12-19T13:29:32.930

No answers