samba writing permissions issue

I am wanting to run samba on Ubuntu:20.04, I am using local user accounts but the issue I am having is that users alpha, beta and omega cannot write to the folders that they are supposed to have write access to.

alpha user belongs in groups blue, purple and green
beta user belongs in groups purple and green
omega user belongs in group green

i have set ownership using chgrp command for each folder so it is:

chgrp -R green /var/pods/three
chgrp -R purple /var/pods/one
chgrp -R blue /var/pods/two

Here is what my smb.conf is:

min protocol = SMB2
security = user

[storage-pod1]
    path = /var/pods/one
    writeable = yes
    read only = no
    guest ok = no
    browseable = no
    create mask = 0777
    force create mode = 0777
    directory mask = 0777
    force directory mode = 0777
    ​valid users = @alpha, @beta
[storage-pod2]
    path = /var/pods/two
    browseable = no
    writeable = yes
    read only = no
    guest ok = no
    create mask = 0777
    directory mask = 0777
    ​valid users = @alpha

[storage-pod3]
    path = /var/pods/three
    browsable = no
    writeable = yes
    read only = no
    guest ok = no
    create mask = 0777
    directory mask = 0777
    browseable = no
    valid users = @alpha, @beta, @omega

but nonetheless accessing from Windows 10 I am getting a permission error message when trying to write files. What am I doing wrong?


Go to Source of this post
Author Of this post: Tantalizing Banana
Title Of post: samba writing permissions issue
Author Link: {authorlink}