In Windows when I connect using test_reader account I can access with no problems. However when I use peter account it gives me Access Denied.
I did some testing and if I change share folder ownership to peter I can access using peter account and then there's no acccess for test_reader. So only a folder owner can access the share.
smb.conf:
[share]
comment = Venice
path = /media/test_folder/share
read only = yes
create mask = 0650
directory mask = 0760
browsable = yes
valid users = @mac
write list = peter
mac memebrs:
mac:x:502:test_reader,peter
Folder permissions:
drwxrw-r-x 2 test_reader mac 2048 Jun 9 18:23 share
I have set smbpasswd for each accounts.
Why I cannot access the share using peter account that belongs to the same group as test_reader?