All of lore.kernel.org
 help / color / mirror / Atom feed
* restorecon / matchpathcon
@ 2008-11-06 16:04 LC Bruzenak
  2008-11-06 16:35 ` Daniel J Walsh
  0 siblings, 1 reply; 5+ messages in thread
From: LC Bruzenak @ 2008-11-06 16:04 UTC (permalink / raw)
  To: SE Linux

I see no way to recursively/silently check path context.

The matchpathcon command has a silent but no recursive option. It does
return non-zero if something doesn't match.

The restorecon command has both recursive and don't change options but
no silent. It does not return non-zero if there is a change to be made,
so a redirect of stdout to /dev/null wouldn't suffice.

Is there another way/command?

Thx,
LCB.

-- 
LC (Lenny) Bruzenak
lenny@magitekltd.com


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-06 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-06 16:04 restorecon / matchpathcon LC Bruzenak
2008-11-06 16:35 ` Daniel J Walsh
2008-11-06 16:45   ` LC Bruzenak
2008-11-06 16:59     ` Daniel J Walsh
2008-11-06 17:19       ` LC Bruzenak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.