Question

I have accidentally performed permission 777 to root in my digital ocean droplet. Now I want to revert it.

I have accidentally performed permission 777 to root in my digital ocean droplet. Now I want to revert it. Please DO Needfull.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @saragadamsuresh174,

Unfortunately, there is no way to revert the command automatically. In short, you can’t revert it. In a more long reply, you’ll need to find out every folder what permission it had and change them.

Usually folders have 755 and files 644 permissions but that’s not always true for every folder/file.

I would recommend rebuilding your droplet or if possible reverting to a backup.

Regards, KDSys