I was checking why delete files from a samba mount show deleted in the guest machine but still are on the host.
This did not happen in 15.2 - the mask seems to be ignored.
I touch test and this is what happened.
Look at file test - I can delete it but it comes back.
Guest shows
llrainey@VM1:/a/u/Downloads/Firefox> ll
total 0
drwxr-xr-x 2 llrainey users 0 Jun 16 21:56 a
drwxr-xr-x 2 llrainey users 0 May 30 20:04 b
drwxr-xr-x 2 llrainey users 0 Jun 1 10:11 c
drwxr-xr-x 2 llrainey users 0 Jun 9 14:44 d
drwxr-xr-x 2 llrainey users 0 Feb 12 08:03 l
-rwxr-xr-x 1 llrainey users 0 Jun 17 10:27 test
drwxr-xr-x 2 llrainey users 0 Jun 1 16:36 w
llrainey@VM1:/a/u/Downloads/Firefox>
Host sees:
llrainey@LLR1:/a/u/Downloads/Firefox> ll
total 24
drwxrw-rw- 2 llrainey users 4096 Jun 16 21:56 a
drwxrw-rw- 2 llrainey users 4096 May 30 20:04 b
drwxrw-rw- 2 llrainey users 4096 Jun 1 10:11 c
drwxrw-rw- 3 llrainey users 4096 Jun 9 14:44 d
drwxrw-rw- 11 llrainey users 4096 Feb 12 08:03 l
-rwxr--r-- 1 llrainey users 0 Jun 17 10:27 test
drwxr-xr-x 6 llrainey users 4096 Jun 1 16:36 w
llrainey@LLR1:/a/u/Downloads/Firefox>
I use samba because I have lots of Windows 10 clients that access it to fetch files. NFS is not fun with Windows.
This worked properly in 43.x, 15.0, 15.1 and 15.2 - Since upgrading to 15.3 I cannot delete files for real - I can create them - they look deleted in the Linux machine but are still on the host as 744 permissions
the clients use password changed to xxxxxx
mount -t cifs -o vers=2.0,username=llrainey,password=xxxxxx,uid=llrainey,gid=users,file_mode=0755,dir_mode=0755 //llr1/tz /a/t
mount -t cifs -o vers=2.0,username=llrainey,password=xxxxxx,uid=llrainey,gid=users,file_mode=0755,dir_mode=0755 //llr1/uz /a/u
the host has these entries for the shares
[TZ]
path = /a/t
writable = yes
browsable = yes
guest ok = yes
guest only = no
force user = llrainey
force group = users
create mode = 0755
directory mode = 0755
[UZ]
path = /a/u
writable = yes
browsable = yes
guest ok = yes
guest only = no
force user = llrainey
force group = users
create mode = 0755
directory mode = 0755