group permissions on directory being ignored for group member

Itamar Gal itamarggal at gmail.com
Sat Jul 18 14:59:27 UTC 2015


Hey Patrick,

Thanks for your response.

Read this for starters, it should make more clear what is going on:
>
> http://brunogirin.blogspot.nl/2010/03/shared-folders-in-ubuntu-with-setgid.html
>

> After that, please let us know what ACL permissions the folder has.
>

Thanks for the link. As it happens, I actually have that article bookmarked
from a couple of years ago; the web is a small place sometimes. Here's the
ACL for the directory in question:

$ getfacl /directory

getfacl: Removing leading '/' from absolute path names
# file: directory
# owner: root
# group: groupname
# flags: -s-
user::rwx
group::rwx
group:groupname:rwx
mask::rwx
other::---

Cheers,
Itamar

On Sat, Jul 18, 2015 at 6:41 AM, iceblink <iceblink at seti.nl> wrote:

> On 2015-07-18 10:41, blind Pete wrote:
>
>> Itamar Gal wrote:
>>
>>  Hey Ubuntu users,
>>>
>>> Some quick background about me. I'm a junior sysadmin in a firm whose IT
>>> department has no senior sysadmins, and I'm relatively new to the job.
>>> I've inherited an environment from a previous administrator who was much
>>> better at his job than I am, but who didn't leave much in the way of
>>> documentation.
>>>
>>> Recently we've been experiencing a seemingly bizarre issue where it seems
>>> that there is a user (on an Ubuntu 12.04.4 server) who is unable to
>>> access
>>> a shared directory, even though that user belongs to the group which owns
>>> the directory. Here is an example session:
>>>
>>> $ whoami
>>> username
>>>
>>
>> Adam, Betty, Charlie, might be easier to read,
>> or even user1, user2, group1, group2.
>>
>>  $ cd /shared_directory
>>> bash: cd: /shared_directory: Permission denied
>>>
>>> ls /directory
>>> ls: cannot open directory /shared_directory: Permission denied
>>>
>>> $ ls -ld /shared_directory
>>> drwxrws---+ 116 root groupname 4096 Jun 11 11:35 /shared_directory
>>>
>>
>> Set group id when reading the directory?
>> What does the plus mean?  ACL is involved?
>>
>
> Yes, that is exactly what it means. Access Control Lists are active for
> that directory.
>
> Read this for starters, it should make more clear what is going on:
>
> http://brunogirin.blogspot.nl/2010/03/shared-folders-in-ubuntu-with-setgid.html
>
> After that, please let us know what ACL permissions the folder has.
>
>
> Regards,
> Patrick
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150718/f806298a/attachment.html>


More information about the ubuntu-users mailing list