0

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.

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.