file ownerships changed

Karasik, Vitaly vkarasik at nds.com
Sun Jul 3 08:08:23 UTC 2005


 
 
> 
> I just made a big mistake. I wanted to change to ownership of 
> a directory and its subdirectories. I was to fast and typed a 
> wrong regular expression so, that I changed the ownership of 
> the files in the hole dir tree. Is there a way, to made that 
> changes undo? I hope so, If not, what is the best to do now?
> 
> Greez Martin

As for "RH system files" (e.g. coming from RPMs), you can use 
rpm --setperms / rpm --setugids  for restoring  original
permissions/ownership  all files from rpm package

Rgds,
Vitaly Karasik
RHCE
***********************************************************************************
Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster at nds.com and destroy the original message.
***********************************************************************************




More information about the redhat-list mailing list