[Samba] Time-machine replies with 17: File Exists

Andrew Walker walker.aj325 at gmail.com
Wed Apr 28 00:29:07 UTC 2021

On Tue, Apr 27, 2021 at 5:06 PM Jorgen Lundman via samba <
samba at lists.samba.org> wrote:

> Oh actually, I did disable nearly everything to compile it:
> ./configure CC=gcc --without-ad-dc --without-ldap --without-ldb-lmdb
> --without-ad-dc --without-ads --without-automount --without-cluster-support
> --without-dmapi --without-dnsupdate  --without-fake-kaserver
> --without-fam  --without-gpgme --without-json  --without-ldap
> --without-ldb-lmdb --without-lttng  --without-profiling-data
> --without-systemd --disable-cups
> --with-shared-modules=vfs_zfsacl,nfs4_acls,vfs_dfs_samba4,vfs_fruit,vfs_xattr
> --without-libarchive
> So it’s possible I managed to disable something crucial. Although it is
> odd that, as part of a test, TM creates token, then renames it to “.delete”
> and checks if it is still there. What part of smbd_do_setfilepathinfo()
> deletes a file though?

Sorry. I didn't look closely enough through your message (a few too many
irons in the fire). smbd_do_setfilepathinfo() can set delete_on_close on a
file / directory. In the case of directories, this will fail if the
directory is not empty.

More information about the samba mailing list