[CentOS] Urgent help on replacing /var

Karanbir Singh mail-lists at karan.org
Fri Aug 3 16:03:01 UTC 2012


Hi,

On 08/03/2012 04:25 PM, Lamar Owen wrote:
> rpm -qa | while read line; do echo $line && rpm --setugids $line; done
> should handle ownerships.  Then, reenable selinux in permissive mode, and set it to relabel on the next boot.

maybe add --setperms as well


-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
ICQ: 2522219    | Yahoo IM: z00dax      | Gtalk: z00dax
GnuPG Key : http://www.karan.org/publickey.asc



More information about the CentOS mailing list