davidndallas
asked on
Linux - Group permission for a user not working
Hi ..I use Debian with Samba installed. I have a group called Sales that has full access to a folder called Reports. 10 users are part of this Sales group. It's been working fine for years then sudenly one user from this group is getting a denied access on this Reports folder. I did not change or add any permissions or groups.
Any ideas?
Thank you.
Any ideas?
Thank you.
Sorry,its
#usermod -g Sales abc
#usermod -g Sales abc
ASKER
User 'abc' is on a primary group called 'main' .. this gives them a login script. User 'abc' is also a member of 10 other groups.
I took the user out of the Sales groups then added the user back.
Still not working.
Thanks
I took the user out of the Sales groups then added the user back.
Still not working.
Thanks
ASKER
Any suggestions ??? Anybody????
Please post the output of the following command:
# id abc
# id abc
ASKER
Here's what I get when I do the "id abc" command:
uid=1356(abc) gid=1060(main) groups=1060(main),1008(sal es),1015(d ept)
Thanks
uid=1356(abc) gid=1060(main) groups=1060(main),1008(sal
Thanks
Please post the output of the same 'id' command with another user that you know can access the share.
Please post the output of the command: ls -ldn /path/to/Reports
Might be helpful to also post the Reports share definition in the /etc/samba/smb.conf file.
Have you tried running 'smbpasswd -e abc' as root?
What version of Samba are you running?
Please post the output of the command: ls -ldn /path/to/Reports
Might be helpful to also post the Reports share definition in the /etc/samba/smb.conf file.
Have you tried running 'smbpasswd -e abc' as root?
What version of Samba are you running?
ASKER
Resolved the problem .. the user is on 35 other groups .. when I started deleting her off the other groups, the permissions started working. Looks like I can only go up to 32 groups.
Thanks for everybody's responses.
Thanks for everybody's responses.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For example I want to remove 'abc' user from the Sales group
# usermod -g abc abc
It will remove abc user from Sales group
Test if the user remove from Sales group
# groups abc
abc:abc
means the primary group for user abc is abc
Than again add the user abc to group Sales
useradd -g Sales abc