Resetting File Permissions And Ownership On RPM-Based Linux Systems
If you’ve come here looking to fix an errant recursive chmod or chown command on an RPM-based Linux system, then here is the quick solution. Run the following commands using root privileges: The –setugids option to the rpm command sets user/group ownership of files in a given package. By using the -a option we’re telling … Read more