wrong command

kent at songbird.com kent at songbird.com
Fri Sep 26 19:16:17 UTC 2008


On Fri, Sep 26, 2008 at 03:35:45PM +0200, FAUCONNIER Valery     AWL-IT wrote:
> It's possible to retrieve file permissions belonging to a rpm package:
> 
> rpm -qlv <name_of_package>

Thanks for a useful reply :-)

> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com]On Behalf Of Vivek Mangal
> Sent: Friday 26 September 2008 15:20
> To: Red Hat
> Subject: wrong command
> 
> 
> Hello all,
> 
> By mistake i run below command on root.
> # chown <user> -R /
> 
> It changed the ownership of all directories with their respective files
> then how i can recover my system from this problem ?
> i think i have to change back ownership of all directories manually ?
> or their is other way to do this.... ?
> please tell me
> 
> -- 
> With Regards,
> Vivek Mangal
> System Administrator
> Red Hat Certified Engineer
> Componence Portal Sevices Pvt. Ltd.
> Jaipur, Rajasthan -302006
> Call +91-9829681753
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list