FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 04-11-2012, 09:02 PM
"Jason Pyeron"
 
Default How to fix a chown oops...

chown -R 7.0 /sbin/
chown -R 98.98 //

Is there a rpm way fix all the permissions of files managed by rpms?

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- 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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-11-2012, 09:12 PM
Alexander Dalloz
 
Default 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-20a3ecce3d0762b9cdd3307ef2632e0c274a2bfd

Alexander
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-11-2012, 09:38 PM
"Jason Pyeron"
 
Default How to fix a chown oops...

> -----Original Message-----
> From: centos-bounces@centos.org
> [mailto:centos-bounces@centos.org] On Behalf Of Alexander Dalloz
> Sent: Wednesday, April 11, 2012 17:12
> To: CentOS mailing list
> Subject: Re: [CentOS] 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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 07:24 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org