I have this /srv
directory that, for convenience, I would like members of the wheel
group to have write access to, and for any files and directories created to transitively inherit the permissions.
After sudo chgrp wheel /srv && sudo chmod g+ws /srv
, however, I still cannot create directories and files under /srv
:
$ mkdir /srv/mantis
mkdir: cannot create directory `/srv/mantis': Permission denied
Examining the ACL on /srv
shows that the effective group permission is only r-x
, for some reason:
$ getfacl /srv
getfacl: Removing leading '/' from absolute path names
# file: srv
# owner: root
# group: wheel
# flags: -s-
user::rwx
user:webmaster:rwx
group::r-x
mask::rwx
other::r-x
Any reason why this happens? Could it be that somehow when I added the additional access for the webmaster
user (long before the setgid
attempt) I accidentally tampered with the group ACL?