You are not logged in.
I have a huge problem... I have proceeded by chance
chmod -R 0755 /*
now I would like to restore the defualt settings for each file... Do you know any script which would restore them?
Offline
lol why did you do that?
Offline
it should have been for a subfolder in / yet I did not enter it by chance...
Offline
It's not a huge problem unless you have other users on your PC. All directories and stuff in the bin dirs should be like that.
So you can go folder by folder making sure everything is as it should be. You could run things like
chmod a-x $(find etc -type f)
chmod a-x $(find usr -name bin -prune -o -type f -print) (I can't see if that is correct syntax right now, read examples in man find)
And make things like /etc/shadow and /root/ world unreadable.
Offline