From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: zhou peng <ailvpeng25@gmail.com>
Cc: "Américo Wang" <xiyou.wangcong@gmail.com>,
"Christoph Hellwig" <hch@infradead.org>,
"Casey Schaufler" <casey@schaufler-ca.com>,
sds@tycho.nsa.gov, jra@samba.org,
linux-security-module@vger.kernel.org,
linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
linux-fsdevel@vger.kernel.org
Subject: Re: About ACL for IPC Object
Date: Tue, 26 Jan 2010 00:26:47 +0800 [thread overview]
Message-ID: <20100125162647.GC3749@hack> (raw)
In-Reply-To: <6fb445941001250721p73795fe2i9196bd3c77dd0fce@mail.gmail.com>
On Mon, Jan 25, 2010 at 11:21:44PM +0800, zhou peng wrote:
>I have tested posix sem,posix shm and posix msg queue for ACL on
>fedora 12 with kernel 2.6.32.
>
>Posix sem and posix shm using tmpfs monted by default support ACL well .
>Posix msg queue use mqueue fs mounted by manual but it seem not
>surpoort ACL well. It failed for setting named ACL item:
>{
> $ mkdir /dev/mqueue
> $ mount -o rw, acl -t mqueue none /dev/mqueue
> $cd /dev/mqueue
> "/mq" msg queue object created and used by processes properly
>
> $getfacl mq
> #file: mq
> #owner:root
> #group:root
> user:rw-
> group::---
> other::---
>
> $setfacl -m u:testuser:rw mq /* failed here*/
> $setfacl: mq :Operation not supported
> but mqueue fs works well for setting owner user and owner group items.
>}
>
>I am not sure whether mqueue don't support acl or I make mistake.
>
A quick look at the source code shows mqueue doesn't support ACL.
--
Live like a child, think like the god.
next prev parent reply other threads:[~2010-01-25 16:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6fb445941001200112o2934f805l4eb4f78000e9527e@mail.gmail.com>
2010-01-20 9:20 ` About ACL for IPC Object zhou peng
2010-01-20 21:50 ` Jeremy Allison
2010-01-20 22:00 ` Jeremy Allison
2010-01-21 3:02 ` Casey Schaufler
2010-01-21 9:05 ` Christoph Hellwig
2010-01-22 9:15 ` zhou peng
2010-01-22 10:02 ` Américo Wang
2010-01-25 15:21 ` zhou peng
2010-01-25 16:26 ` Américo Wang [this message]
2010-03-23 9:01 ` zhou peng
2010-03-23 11:55 ` Christoph Hellwig
2010-03-24 0:17 ` Casey Schaufler
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=20100125162647.GC3749@hack \
--to=xiyou.wangcong@gmail.com \
--cc=ailvpeng25@gmail.com \
--cc=casey@schaufler-ca.com \
--cc=hch@infradead.org \
--cc=jra@samba.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=sds@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).