<div dir="ltr">Hey Peter,<br><br>Thanks for your response.<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> Adam, Betty, Charlie, might be easier to read,<br> or even user1, user2, group1, group2.<br></blockquote><br>You know, I was actually going to do this (my A and B were Alice and Bill) but then I somehow talked myself out of it. Never again!<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> Set group id when reading the directory?<br> What does the plus mean? ACL is involved?<br> "man chmod" for as start, but I don't think it will tell you enough.<br> "man attr" might help.<br></blockquote><br>It looks like ACLs are enabled, but they don't seem to be doing much. Here's the output from getfacl:<br><br><div style="margin-left:40px"><span style="font-family:monospace,monospace">$ getfacl /directory</span><br><span style="font-family:monospace,monospace"></span><br><span style="font-family:monospace,monospace">getfacl: Removing leading '/' from absolute path names</span><br><span style="font-family:monospace,monospace"># file: directory</span><br><span style="font-family:monospace,monospace"># owner: root</span><br><span style="font-family:monospace,monospace"># group: groupname</span><br><span style="font-family:monospace,monospace"># flags: -s-</span><br><span style="font-family:monospace,monospace">user::rwx</span><br><span style="font-family:monospace,monospace">group::rwx</span><br><span style="font-family:monospace,monospace">group:groupname:rwx</span><br><span style="font-family:monospace,monospace">mask::rwx</span><br><span style="font-family:monospace,monospace">other::---</span><br></div><div style="margin-left:40px"><span style="font-family:monospace,monospace"></span></div><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> There is a Gnome application called "Eiciel" for manipulating<br> ACL's and extended user attributes, but I have not used it.<br></blockquote><br>Thanks for the tip, but I'm pretty happy using the command line tools. The server is hosted remotely and I find RDP and the like to be a little clunky.<br><br>Cheers,<br>Itamar<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 18, 2015 at 3:41 AM, blind Pete <span dir="ltr"><<a href="mailto:0123peter@gmail.com" target="_blank">0123peter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Itamar Gal wrote:<br>
<br>
> Hey Ubuntu users,<br>
><br>
> Some quick background about me. I'm a junior sysadmin in a firm whose IT<br>
> department has no senior sysadmins, and I'm relatively new to the job.<br>
> I've inherited an environment from a previous administrator who was much<br>
> better at his job than I am, but who didn't leave much in the way of<br>
> documentation.<br>
><br>
> Recently we've been experiencing a seemingly bizarre issue where it seems<br>
> that there is a user (on an Ubuntu 12.04.4 server) who is unable to access<br>
> a shared directory, even though that user belongs to the group which owns<br>
> the directory. Here is an example session:<br>
><br>
> $ whoami<br>
> username<br>
<br>
</span>Adam, Betty, Charlie, might be easier to read,<br>
or even user1, user2, group1, group2.<br>
<span class=""><br>
> $ cd /shared_directory<br>
> bash: cd: /shared_directory: Permission denied<br>
><br>
> ls /directory<br>
> ls: cannot open directory /shared_directory: Permission denied<br>
><br>
> $ ls -ld /shared_directory<br>
> drwxrws---+ 116 root groupname 4096 Jun 11 11:35 /shared_directory<br>
<br>
</span>Set group id when reading the directory?<br>
What does the plus mean? ACL is involved?<br>
"man chmod" for as start, but I don't think it will tell you enough.<br>
"man attr" might help.<br>
<br>
There is a Gnome application called "Eiciel" for manipulating<br>
ACL's and extended user attributes, but I have not used it.<br>
<span class="im HOEnZb"><br>
> $ getent group groupname<br>
> groupname:*:username:otheruser<br>
><br>
> sudo adduser username groupname<br>
> The user `username' is already a member of `groupname'<br>
><br>
> I posted this question on ServerFault here:<br>
><br>
> <a href="http://serverfault.com/questions/705988/group-permissions-on-directory-being-ignored-for-user" rel="noreferrer" target="_blank">http://serverfault.com/questions/705988/group-permissions-on-directory-being-ignored-for-user</a><br>
><br>
</span><div class="HOEnZb"><div class="h5">> but I haven't gotten any responses.<br>
><br>
> A few remarks are probably in order. We are using LDAP-based<br>
> authentication which inherits from a global LDAP server run outside of our<br>
> department. We have a script which imports user data from the global LDAP<br>
> server to our own LDAP server.<br>
><br>
> This permissions issue has happened a handful of times so far. Each time I<br>
> was able to fix the problem by manually removing the user account form our<br>
> LDAP server and then reimporting the account from the global server<br>
> (although I have no idea why this had any effect, as I couldn't see any<br>
> differences in the relevant LDAP entries). But now I've run into a case<br>
> where doing this didn't resolve the problem, so I probably have to figure<br>
> what's actually going on.<br>
><br>
> If anyone can shed any light on this I would be forever indebted to you,<br>
> as I am completely baffled by this.<br>
><br>
> Cheers,<br>
> Itamar<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
blind Pete<br>
Sig goes here...<br>
<br>
<br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></span></blockquote></div><br></div>