[SATLUG] Root problems

Daniel Givens daniel at rugmonster.org
Sat Aug 7 16:40:10 CDT 2010

On Aug 7, 2010, at 3:22 PM, Channing wrote:

> That's a good idea Daniel. Here is the code Peter...


> for pkg in $(rpm -qa --queryformat '%{NAME}\n')
> {
> rpm --setperms ${pkg}
> }

I just checked and in F12, you can give rpm the whole package name output by `rpm -qa`. This worked for me.

for pkg in $( rpm -qa )
	echo $pkg
	rpm --setperms ${pkg}

Yay, progress!

More information about the SATLUG mailing list