Re: How to fix a chown oops...

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



> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx 
> [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Alexander Dalloz
> Sent: Wednesday, April 11, 2012 17:12
> To: CentOS mailing list
> Subject: Re:  How to fix a chown oops...
> 
> Am 11.04.2012 23:02, schrieb Jason Pyeron:
> > chown -R 7.0 /sbin/
> > chown -R 98.98 //
> > 
> > Is there a rpm way fix all the permissions of files managed by rpms?
> 
> http://wiki.centos.org/TipsAndTricks/YumAndRPM#head-20a3ecce3d
> 0762b9cdd3307ef2632e0c274a2bfd

rpm -qa | while read line; do echo $line && rpm --setperms $line; done

Thanks...


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux