From: Daniel J Walsh <dwalsh@redhat.com>
To: SE Linux <selinux@tycho.nsa.gov>
Subject: Suggested change to setfiles interface.
Date: Wed, 25 Feb 2004 10:22:44 -0500 [thread overview]
Message-ID: <403CBDC4.30100@redhat.com> (raw)
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.
next reply other threads:[~2004-02-25 15:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-25 15:22 Daniel J Walsh [this message]
2004-02-25 16:21 ` Suggested change to setfiles interface Stephen Smalley
2004-02-25 17:04 ` Stephen Smalley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=403CBDC4.30100@redhat.com \
--to=dwalsh@redhat.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.