Reset file permissions of RPM packages
This entry was posted on Apr 16 2009
A disastrous mistake anyone can make on their Linux server is to chown or chmod their entire filesystem.
You can reset the permissions of packages installed with rpm.
To reset file permissions:
root@empulse:$ rpm --setperms {packagename}
To reset ownership permissions:
root@empulse:$ rpm --setugids {packagename}
