OMV 5.5.20-1
I have created a new user account (picted) via the OMV web app and added the user to the system group 'www-data'. OMV automatically adds the new users to group 'Users' and via SSH the new user appears as:
root@CMHomeNAS1:~# id picted
uid=1004(picted) gid=100(users) groups=100(users),33(www-data)
I have created a shared folder (scans) with Owner as 'www-data' (read, write, execute) and group as 'www-data' (read, write, execute). I then made the shared folder available via NFS and CIFS/SMB
I have connected my Windows 10 machine to the SMB/CIFS share, logged into the share as user 'picted' and created some new files in this folder via Windows Explorer which get the following settings back on the OMV filesystem:
root@CMHomeNAS1:/srv/dev-disk-by-label-BigDisk/scans/PHOTO_1#ls -lrt
-rw-rwxr--+ 1 picted users 372425 Nov 27 11:48 PD_0002.jpg
-rw-rwxr--+ 1 picted users 299290 Nov 27 11:51 PD_0001.jpg
The files are created with the correct user ('picted') but with the Group id as 'users' not the 'www-data' group id I need for compatibility with other users/apps which need to access these files via the user 'www-data' (which is also a member of the group 'www-data') and which cannot be changed.
How can I get the files created via the Windows Explorer SMB/CIFS connection to have the correct group id (ie 'www-data') and not as group 'users' ?
Many thanks
Chris