All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David L Durant (Mags)" <emags4DLD@cox.net>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: "Serge E. Hallyn" <serue@us.ibm.com>,
	ltp-list@lists.sourceforge.net, SELinux <selinux@tycho.nsa.gov>,
	David Howells <dhowells@redhat.com>,
	Andrew Morgan <morgan@kernel.org>
Subject: Re: running filecaps ltp test
Date: Mon, 07 Jul 2008 16:18:13 -0400	[thread overview]
Message-ID: <48727A05.6050505@cox.net> (raw)
In-Reply-To: <1215456424.27975.165.camel@moss-spartans.epoch.ncsc.mil>

On Mon, 2008-07-07 14:47 -0500, Stephen Smalley wrote:

> On Mon, 2008-07-07 at 13:42 -0500, Serge E. Hallyn wrote:
>   
>> It looks like unconfined_t is not granted setfcap capability.  So
>> when running ltp as unconfined_t, the file capabilities test fails.
>> I'm just wondering what the right answer is:
>>
>> 	1. require running ltp as an administrative type
>> 	2. give ltp a custom policy module to create an ltp_t
>> 	3. give setfcap to unconfined_t
>>     
> unconfined_t should have all capabilities already.
> Policy version?

Well, earlier today while running as _root_ with full-blown permissions, 
I noticed that I couldn't access */home/dave/.gvfs*, (except to see that 
it is a directory).

[dave@fedora ~]$ *ls -ld /home/dave/.gvfs*
dr-x------ 2 dave durant 0 2008-07-07 09:40 /home/dave/.gvfs
[dave@fedora ~]$ su -
Password: 
[root@fedora ~]# *ls -ld .gvfs*
ls: cannot access /home/dave/.gvfs: Permission denied
[root@fedora ~]# *secon*
user: unconfined_u
role: unconfined_r
type: unconfined_t
sensitivity: s0
clearance: s0:c0.c1023
mls-range: s0-s0:c0.c1023
[root@fedora ~]# 

David L Durant
=================

--
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.

  reply	other threads:[~2008-07-07 20:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-07 18:42 running filecaps ltp test Serge E. Hallyn
2008-07-07 18:47 ` Stephen Smalley
2008-07-07 20:18   ` David L Durant (Mags) [this message]
2008-07-07 20:26     ` Stephen Smalley
2008-07-07 21:07   ` Serge E. Hallyn
2008-07-08  9:14     ` David Howells
2008-07-08 12:56       ` 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=48727A05.6050505@cox.net \
    --to=emags4dld@cox.net \
    --cc=dhowells@redhat.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=morgan@kernel.org \
    --cc=sds@epoch.ncsc.mil \
    --cc=selinux@tycho.nsa.gov \
    --cc=serue@us.ibm.com \
    /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.