[Samba] Samba 4.12 -> 4.13: can't delete files (only files, not folders)

Konstantin Shalygin k0ste at k0ste.ru
Mon Dec 14 07:43:18 UTC 2020


Hello,

Arch users have's a regression after upgrade samba from 4.12.6 to 4.13.2 [1]

Me too, my samba instance is a slice for migration from Windows 2012 to 
2019,

used only for SMB3.1.1 -> SMB2 access, smb.conf:


```

[global]
    workgroup = CENTER
    client min protocol = SMB2
    server min protocol = SMB2
    server string = files
    security = user
    map to guest = Bad User
    hosts allow = 100.100.105.0/24
    unix charset = UTF8
    load printers = no
    printcap name = /dev/null
    dns proxy = no
    unix extensions = no
    disable spoolss = yes
    logging = syslog
    log level = 2
    max log size = 0

[radosfs]
    path = /mnt/buhs
    browseable = yes
    public = yes
    writable = yes
    guest ok = yes
    force user = root
    force group = root
    create mask = 0777
    force create mode = 0777
    force directory mode = 0777
```

Mount point is:

```

//100.100.105.100/exchange on /mnt/buhs type cifs 
(rw,relatime,vers=3.1.1,cache=strict,username=Администратор,uid=0,forceuid,gid=0,forcegid,addr=100.100.105.100,file_mode=0644,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,_netdev)

```


Regression is: on Samba 4.13 share users can't delete files. Users can 
create files, folders, move files, delete folders. Revert Samba to 
4.12.6 resolvs this problem



Thanks,

k


[1] https://bbs.archlinux.org/viewtopic.php?id=259893



More information about the samba mailing list