All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill <wch1m1@gmail.com>
To: "selinux@tycho.nsa.gov" <selinux@tycho.nsa.gov>
Subject: Linux sandbox and the -i option
Date: Tue, 1 Mar 2016 08:31:26 -0500	[thread overview]
Message-ID: <56D599AE.3050009@gmail.com> (raw)

Is anyone else having issues with the
% sandbox -i [path]
not working?  What happens is the context is incorrectly done.

%ls -Zd /tmp/.sandbox_home_[whatever]
gives
unconfined_u:object_r:sandbox_file_t:s0:cxx,cyyy .
BUT
%ls -Z [path] is
gives
unconfined_u:object_r:mozilla_home_t:s0 [path]

This causes all sorts of read/write issues.

I guess I can write a script to do the
chcon, but that is a bit painful and you have to hunt
for the correct sandbox directory (not optimal at all).

Any suggestions?

-- 
William Chimiak

             reply	other threads:[~2016-03-01 13:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-01 13:31 Bill [this message]
2016-03-02 13:53 ` Linux sandbox and the -i option Stephen Smalley
2016-03-03 12:52   ` Miroslav Grepl

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=56D599AE.3050009@gmail.com \
    --to=wch1m1@gmail.com \
    --cc=selinux@tycho.nsa.gov \
    --cc=w.chimiak@ieee.org \
    /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.