Quantcast
Channel: Restoring default file permissions? - Server Fault
Browsing latest articles
Browse All 5 View Live

Answer by sebinthomas for Restoring default file permissions?

I have exact same problem. rpm -a --setperms fixed the problem.

View Article


Answer by Sean Reifschneider for Restoring default file permissions?

To amend the "rpm --setperms" information, that will allow you to fix the permissions of all files and directories which were installed as RPM packages. It will NOT fix the permissions of files that...

View Article


Answer by hlovdal for Restoring default file permissions?

If your distribution is rpm based, the rpm database contains permission information. The command rpm --setperms {packagename} should reset the permission for the given package.

View Article

Answer by Cian for Restoring default file permissions?

There's no undo. Beyond installing a box with similar unix, and scripting something to check everything permissions, I don't believe there's a list of default permissions either. Not very helpful,...

View Article

Restoring default file permissions?

I know they say that given root access, someone will eventually type before they think and fubar their machine, and I just did. I did a recursive chmod changing everything to 775 thinking I was in a...

View Article

Browsing latest articles
Browse All 5 View Live