Re: restorecon / matchpathcon

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

 



Thanks Dan, I think that works:

[root@hugo ICM]# find `pwd`  | xargs  matchpathcon -Vq
[root@hugo ICM]#  echo $?
123
[root@hugo ICM]# restorecon -rv `pwd`
restorecon reset /var/opt/jcdx/ICM/Labeled context
system_u:object_r:jcdx_icm_var_t:s0->system_u:object_r:jcdx_icm_var_t:s15:c0.c1023
[root@hugo ICM]# find `pwd`  | xargs  matchpathcon -Vq
[root@hugo ICM]#  echo $?
0

-- 
LC (Lenny) Bruzenak
lenny@xxxxxxxxxxxxxx


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux