Re: Bugreport on Ubuntu LTS: not ok - 2 Objects creation does not break ACLs with restrictive umask
- From
Jeff King <peff@peff.net>
- Date
- Jun 5, 2012, 14:10 UTC
- Message-ID
- <20120605141039.GB15640@sigill.intra.peff.net>
- In-Reply-To
- <20120605140449.GA15640@sigill.intra.peff.net>
On Tue, Jun 05, 2012 at 10:04:49AM -0400, Jeff King wrote:
Show 28 quoted lines
> # and create some files with different permissions > perl -MFcntl -e ' > sysopen(X, "a", O_WRONLY|O_CREAT, 0666); > sysopen(X, "b", O_WRONLY|O_CREAT, 0600); > ' > > # and then check the permissions > getfacl a b > > which yields: > > # file: a > # owner: peff > # group: peff > user::rw- > group::--- > mask::r-- > other::--- > > # file: b > # owner: peff > # group: peff > user::rw- > group::--- > mask::--- > other::--- > > That just seems wrong to me.
Hmm, no I'm wrong. That is OK, as the mask should be restricted by the group permission (and it is on ext4, too). But when I traced through git, the tmp_obj_* files are created with the right permissions on ext4, but not on ecryptfs. Let me trace through it again...<sigh>
-Peff