Samba in 15.3 client show 755 and show 744 on host - cannot delete from samba mount

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> 

What are the mount options on the client? What is doing the mounting?

If the client is Linux, and the host is Linux, why isn’t the connection being made natively, with NFS, so there’s no artificiality of permissions?

I never mount Linux on Linux except using NFS, so I wouldn’t know what to expect using a Samba client from a Samba on Linux host.

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


I share my network partition with both NFS and Samba. So unix/linux clients use NFS, while Windows clients use SMB.

Similar regression described in this archlinux thread, and linked to this samba bug.

Also…
https://lists.samba.org/archive/samba/2020-December/233588.html

I have a bugzilla on this and added your comments.

I have requested that they revert to 14.2 samba.

https://bugzilla.opensuse.org/show_bug.cgi?id=1187500

I have requested that they revert to 14.2 samba.

No, as per the upstream bug report a fix is on the way.

Almost 2 months and problem is still there.

4.11 Samba in 15.2 worked fine - lets go back to that version or go to 14.4 if that is fixed.