I was wondering if there is a set of commands that you can run to reset file permissions to default. A bunch of directories/files got their permissions changed on my server due to me copying and pasting a shell script without looking closer into what it was actually doing.
1 Answer
There's no way doing this except for resetting the packages contents rights.
You could try :
rpm --setperms {packagename}
But it wont probably affect all LSB directories.
-
-
I found this site: novell.com/communities/node/5877/… that seems like it should do the trick... is this correct? Aug 23, 2012 at 15:54
-
I would not use it without previous verification because it's not supported by community and post is 4 years old. Aug 23, 2012 at 16:09