xfs
[Top] [All Lists]

Re: default acl inheritence bug

To: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: default acl inheritence bug
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Sun, 28 Apr 2002 19:02:21 -0800
Cc: Andreas Gruenbacher <ag@xxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20020429123505.J144037@boing.melbourne.sgi.com>; from tes@boing.melbourne.sgi.com on Mon, Apr 29, 2002 at 12:35:05PM +1000
Mail-followup-to: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>, Andreas Gruenbacher <ag@xxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
References: <20020417011517.G20630@plato.local.lan> <Pine.LNX.4.33.0204251344580.23243-100000@muriel.parsec.at> <20020426041111.F21791@plato.local.lan> <"from erbenson"@alaska.net> <20020429123505.J144037@boing.melbourne.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Mon, Apr 29, 2002 at 12:35:05PM +1000, Timothy Shimmin wrote:
> Hi Ethan,
> 
> Yeah your behaviour with the file gaining execute permission in the
> user ACE definitely looks wrong _but_ I can NOT repeat it locally.
> 
>     tes@sagan /mnt/xfs0/testdir/test1> setfacl -dm u:tes:r-- .
>     tes@sagan /mnt/xfs0/testdir/test1> getfacl .
>     # file: .
>     # owner: tes
>     # group: tes
>     user::rwx
>     group::rwx
>     other::r-x
>     default:user::rwx
>     default:user:tes:r--
>     default:group::rwx
>     default:mask::rwx
>     default:other::r-x
> 
>     tes@sagan /mnt/xfs0/testdir/test1> touch foo
>     tes@sagan /mnt/xfs0/testdir/test1> getfacl foo
>     # file: foo
>     # owner: tes
>     # group: tes
>     user::rw-
>     user:tes:r--
>     group::rwx                      #effective:rw-
>     mask::rw-
>     other::r--
> 
> You could try adding printk's in 
> linux/fs/xfs/xfs_acl.c/xfs_acl_inherit() & xfs_acl_filter_mode() and 
> see what is going wrong.
> 
> OOI, what is the output from running "check 051" in
> the cmd/xfstests directory (i.e. the acl regression test) ?
> (You need to look at cmd/xfstests/README about setting this stuff up;
>  one needs to setup some variables to point to xfs filesystems etc...)

i assume you used current CVS XFS?  im on 2.4.18 split patches, so
perhaps this is already fixed, ill check again when 2.4.19 is released.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpaiVJTy0XCj.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>