RE: file ownerships changed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
 
> 
> 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@xxxxxxx and destroy the original message.
***********************************************************************************

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux