We are sharing folders with samba on an Ubuntu 18 server. All the clients are also Ubuntu 18. The folder is configured this way.
comment = Carpeta de manuals i informació tècnica
browseable = yes
path = /home/serverone/DADES/Tecnica
writeable = yes
public = no
valid users = tecnic albert
create mask = 0770
directory mask = 0770
# admin users = albert
invalid users = contabilitat administratiu
write list = tecnic albert
The folder in the Fstab is mounted with this line.
//192.168.1.10/Tecnica /home/tecnic/Tecnica cifs credentials=/root/.smbcredentials,uid=1001,gid=1001,rw,dir_mode=0770,file_mode=0770,_netdev 0 0
The problem is that when a client creates a folder or file inside the folder Tecnica the group permissions are not applied.
If the file fstab sets the group permission rwx and the samba is set to allow writing...Could it be anything on the kernel that does not allow Samba to set this permissions?
Kind Regard, Biel