-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 4 Jun 2003 15:03:10 +0100, Kevin Passey wrote:

> Can anybody help me here.
> 
> I have corrupted various permissions on a couple of directories - is there a
> way to re-set them to the installed status.
> 
> I am having problems with amanda and firestarter

For files and directories owned by RPM packages, you could use
rpm's --setperms command similar to something like this:

find /usr/bin | xargs rpm --queryformat | grep --invert-match "not own" | xargs 
--verbose rpm --setperms

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+3mCJ0iMVcrivHFQRAj2gAJ46w2lTSPbbLw48J5YH1NEmDBubogCfVaVu
WUJROAfA7wq7jghYzcmkBWI=
=mO+O
-----END PGP SIGNATURE-----


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to