group permissions on directory being ignored for group member
iceblink
iceblink at seti.nl
Sat Jul 18 11:41:48 UTC 2015
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
More information about the ubuntu-users
mailing list