K kariha Verified User Joined Sep 12, 2011 Messages 46 Jan 10, 2016 #1 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?
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?
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,467 Location www.poralix.com Jan 11, 2016 #2 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).
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).