[CentOS] chown command goof up

Jim Perrin jperrin at gmail.com
Mon Feb 12 21:02:11 UTC 2007


> I know of no automated way of restoring this so implementing x
> (rpm --dump -qal | x ) is left as an exercise ;-)

You mean like rpm's --setperms and --setugids options, which restore
files owned by an rpm to their original permissions/owner states? :-P


This will not fix permissions issues in /home/<user> however as those
files are almost assuredly not owned by an rpm.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell



More information about the CentOS mailing list