Thursday, June 16, 2016

Fix all the permissions uid/gid

To reset UID/GID on all files:

# for i in $(rpm -qa); do rpm --setugids $i; done

To reset permissions on all files:

# for i in $(rpm -qa); do rpm --setperms $i; done

No comments: