[CentOS] Root directory ownership/perms
Jim Perrin
jperrin at gmail.comWed Sep 20 02:25:59 UTC 2006
- Previous message: [CentOS] Root directory ownership/perms
- Next message: [CentOS] Root directory ownership/perms
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I just shot myself in the foot by change the owner/perms on the > contents of the root directory (my bad!!!). I have done a quick > compare with a running RHEL3U8 system and think I have every > thing back to what it should be except for new directories media > and selinux. Can someone out there currently running 4.3 send me > an "ls -l" of their root directory so I can make sure I have got > everything back as it should be? > > Alternately is there some command within Linux that will fix these > up for me (we used to have something like this on SCO OSR5 but I > have not been able to locate anything for Linux)? Assuming you have (or can obtain) a list of packages on the sytem... rpm --setperms --setugids <packagename> will restore the package to the original permissions and ownership. This will still leave a few files out in teh cold as not everything is owned by an rpm. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
- Previous message: [CentOS] Root directory ownership/perms
- Next message: [CentOS] Root directory ownership/perms
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list