-2

If the folders and files permission all suddenly goes to 000 on a web sever, can it be brought back? I yes, please let me have the script that can be executed to bring the permission back.

I have a hosting account and I change 1 folder's(cur) permission in the .Mail directory and when I saved, all folders and files in the ("Home" directory and all sub folders) have their permission turned to 000 suddenly and I got confused.

Help!

ostana
  • 1

1 Answers1

-1
chmod 600(or whatever you want) -R directory

This will recursively set the permissions on the directory. No need for a script. :)

It is unlikely that permissions can be set to 000 as a consequence of changing permission for one directory.

Sudheer
  • 169