All of lore.kernel.org
 help / color / mirror / Atom feed
* Suggested change to setfiles interface.
@ 2004-02-25 15:22 Daniel J Walsh
  2004-02-25 16:21 ` Stephen Smalley
  2004-02-25 17:04 ` Stephen Smalley
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel J Walsh @ 2004-02-25 15:22 UTC (permalink / raw)
  To: SE Linux

I find it curios that the setfiles interface works in recursive mode by 
default.  As we have been trying to get the install to handle labeling 
the file system, several files had to be labeled in the installer 
including /.  The only way to do this was to pipe
echo / | setfiles -s file_context

Looking into this I found this curious that this works differently then
setfiles file_context  /

I would like to see these work consistantly and us add a recursive on 
non recursive switch to setfiles. 

So

setfiles -R file_contexts /
would implement the current behavior

setfiles file_contexts /
would just relabel /.

Dan



--
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] 3+ messages in thread

end of thread, other threads:[~2004-02-25 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25 15:22 Suggested change to setfiles interface Daniel J Walsh
2004-02-25 16:21 ` Stephen Smalley
2004-02-25 17:04 ` Stephen Smalley

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.