Your message dated Sun, 12 May 2013 14:57:42 +0200
with message-id <[email protected]>
and subject line Re: Bug#707963: acl: fails to overwrite umask
has caused the Debian Bug report #707963,
regarding acl: fails to overwrite umask
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
707963: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707963
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: acl
Version: 2.2.51-8
Severity: important
Dear Maintainer,
What led up to the situation?
Creating a subdirectory would not inherit the proper permissions defined in
setfacl.
What exactly did you do (or not do) that was effective (or ineffective)?
Created users user1,user2 and added user2 to group user1
Created a directory:
sudo mkdir /srv/test
sudo chown user1:user1 /srv/test/
sudo chmod 770 /srv/test/
sudo setfacl -d -m m:rwx /srv/test/
sudo setfacl -m m:rwx /srv/test/
$ sudo getfacl test
# file: test
# owner: user1
# group: user1
user::rwx
group::rwx
mask::rwx
other::---
default:user::rwx
default:group::rwx
default:mask::rwx
default:other::---
Created a subdirectory:
as user2: mkdir /srv/test/newdir
What was the outcome of this action?
$ls -la test/ | grep newdir
drwxr-x---+ 3 user2 user2 4096 May 12 13:11 newdir
$ sudo getfacl test/newdir
# file: test/newdir
# owner: user2
# group: user2
user::rwx
group::rwx #effective:r-x
mask::r-x
other::---
default:user::rwx
default:group::rwx
default:mask::rwx
default:other::---
What outcome did you expect instead?
The new subdirectory group permissions should be rwx and not r-x
-- System Information:
Debian Release: 7.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages acl depends on:
ii libacl1 2.2.51-8
ii libattr1 1:2.4.46-8
ii libc6 2.13-38
acl recommends no packages.
acl suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On 05/12/2013 01:38 PM, G. Arends wrote:
> Creating a subdirectory would not inherit the proper permissions defined in
> setfacl.
umask is used by the syscalls, the default acls are not POSIX compliant
and exist only for convenience, so this behavious is expected.
So you either need to make sure umask does not contradict your default
acls or use a filesystem that really supports inheritance like NTFS.
Cheers
Luk
--- End Message ---