Undo reset permissions command?

Namazurio

New member
Joined
Jul 31, 2012
Messages
2
Hi, i've tried to change permissions to some folders and i did something very stupid i think, with the wrong command.

cd /usr/local/directadmin/scripts
./set_permissions.sh all

And now my website doesn't work, i receive this error: "Error establishing a database connection".
There is any "undo" command? Or how can i fix this?
 
Which is a good thing, because there's no way to undo the command.

For reference, the set_permissions.sh script should always make safe permissions changes, unless of course you're using some scheme you developed yourself for permissions/rights for some special purpose, in which case you'll need your own scripts.

Jeff
 
Back
Top