If you mess up the permissions on installed packages some how , you can set default permissions by issuing the following command :

for p in $(rpm -qa); do rpm –setugids $p; rpm –setperms $p; done