Originally Posted by synss
If you have some administration to do through ssh, you should ssh using your normal user and use su/sudo on the remote machine, very much like you (hopefully) do with physical access.
Moreover 775 makes everything executable. You do not want that. I do not get why having 775 would prevent you to log in, however. Are you sure you did not do anything else, which broke su?
before this I did the same for /usr/lib/oracle/xe as when I restarted the oracle then it was throwing error:
ORA-10997: another startup/shutdown operation of this instance inprogress
ORA-09967: unable to create or open lock file
Linux Error: 30: Read-only file system
and the whole system became down. This instance of oracle is running one very important website and I became nervous so immediately I did:
chmod -R 775 /usr/lib/oracle/xe and then tried that started oracle instance and website became up again
then I did mistake that was not having any reason to do same for /root
anyhow is there anything to restore it in yesterday date/time like windows or rollback process like oracle?
Thanks again & best regards