Results 1 to 1 of 1
Hi. I'm creating some shares in my Ubuntu machine running samba v3.0.22.
I need to create a top level directory called TOP LEVEL. I also need to create about six ...
- 10-23-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 1
Samba/groups access question
Hi. I'm creating some shares in my Ubuntu machine running samba v3.0.22.
I need to create a top level directory called TOP LEVEL. I also need to create about six sub directories
A
B
C
D
E
F
I want the 'private' group to be the force group and contain user a, b, c, d, e, f, g
I also want another group called 'more_private' to have rw access to sub directory A only
Furthermore, I want another group called 'even_more_private' to have access to A-F, but exclusive rw access to sub directory B
In my smb.conf file, I have it configured like this:
[top level]
path = /TOP LEVEL
browseable = yes
guest ok = no
writable = yes
printable = no
create mask = 0770
directory mask = 2770
force create mode = 660
force directory mode = 2770
force group = +private
dos filemode = yes
valid users = +private, more_private, even_more_private
Problem is, user from the more_private group cant access the server\TOP LEVEL share at all, even though they are a member of the 'more_private' group. I thought by adding the groups to the 'valid users' section of the smb.conf they could access the share even though the directory mask is 770 and then the group permissions would then take over. Should I set the directory mask to 2775, then maybe?
Here's what the permissions look like on the server:
drwxrws--- 12 root private 4096 Oct 23 15:28 .
drwxr-xr-x 24 root root 4096 Oct 22 14:46 ..
drwxrws--- 3 user private 4096 Oct 23 17:46 D
drwxrws--- 4 user private 4096 Oct 23 17:47 C
drwxrws--- 2 user even_more_private 4096 Oct 23 17:46 B
drwxrws--- 2 user private 4096 Oct 22 18:30 C
drwxrws--- 6 user private 4096 Oct 23 17:20 E
drwxrws--- 4 user more_private 4096 Oct 23 17:47 A
drwxrws--- 2 user private 4096 Oct 22 18:30 F
Am I missing something here
???
Thanks


Reply With Quote