Question

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

Posted December 28, 2019 418 views
Linux CommandsDebian 10

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

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.

×
1 answer

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

Submit an Answer