Created
September 10, 2014 05:58
-
-
Save nghuuphuoc/5a9322bd2fcf84c7cd46 to your computer and use it in GitHub Desktop.
Reset file permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for package in $(rpm -qa); do rpm --setperms $package; done | |
for package in $(rpm -qa); do rpm --setugids $package; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment