All files chown change problem

kariha

Verified User
Joined
Sep 12, 2011
Messages
46
I entered the command accidentally in SSH.

Code:
chown -R username /

I had to cancel at short notice.
but all sites does not open.
Database is not working.
How can I fix?
 
Hello,

You can use:

Code:
/usr/local/directadmin/scripts/set_permissions.sh all

but it will not change ownership of binaries and other system files.

You might need to use find and ls on another server to copy correct permissions to your current server (with chown).
 
Back
Top