End of the settings, I check all access and I'll feedback you.
The configuration (with some changes :) )
I save settings at all end steps when the GUI ask it
Clear all settings
================================
Setup > Users
--------------------------------
Create Users :
A, B ,C
Create Groups :
AB (with A and B)
ABC (with A, B and C)
================================
Setup > Folders
--------------------------------
DirA :
Owner : A (R/W/B)
Users in group : root (R/W/B)
Other users : Nothing
3 checkboxes enabled
DirB :
Owner : B (R/W/B)
Users in group : AB (R/W/B)
Other users : Nothing
3 checkboxes enabled
DirC :
Owner : A (R/W/B)
Users in group : ABC (R/B)
Other users : Nothing
3 checkboxes enabled
---
DirA aa root rwxrws---
DirB bb AB rwxrws---
DirC aa ABC rwxr-s---
================================
in doubt, I reboot :)
================================
================================
Services > Network > smb > Configure > advanced (SWAT) > Share
--------------------------------
(W for Windows :) )
WDirA :
Path : /mnt/md0/Users/DirA
Valid users : A (win user)
write list : A
read only : yes
available = Yes
WDirB :
Path : /mnt/md0/Users/DirA
Valid users : @AB
write list : @AB
read only : yes
available = Yes
WDirC:
Path : /mnt/md0/Users/DirC
Valid users : @AB C
write list : @AB
read only : yes
available = Yes
---
[global]
server string = DATA NAS
map to guest = Bad User
passdb backend = smbpasswd
username map = /etc/samba/smbusers
syslog only = Yes
max log size = 32
enable core files = No
socket options = IPTOS_LOWDELAY TCP_NODELAY
hosts allow = 127.,
192.168.0.0/255.255.255.0 use sendfile = Yes
print command = lpr -P %p %s; rm %s
[Printers]
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[WDirA]
path = /mnt/md0/Users/DirA
valid users = A
write list = A
[WDirB]
path = /mnt/md0/Users/DirB
valid users = @AB
write list = @AB
[WDirC]
path = /mnt/md0/Users/DirC
valid users = @AB, C
write list = @AB
================================
in doubt, I reboot :)
================================