]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:smbd: work around broken "vfs mkdir use tmp name" on FAT
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Apr 2025 09:51:28 +0000 (11:51 +0200)
committerJule Anger <janger@samba.org>
Thu, 17 Apr 2025 15:59:12 +0000 (15:59 +0000)
commit417feb2851a8d42d47577dc2446ada7d9b9849bb
treee62a5aa42e3e12339f10c3ec71859fd7cd571610
parentdadfa06573f3958f88b235c4d2e5ecedab78f6c5
s3:smbd: work around broken "vfs mkdir use tmp name" on FAT

"vfs mkdir use tmp name" creates a name with ":" because the file should
be invisible for Windows clients. ":" however is an invalid character on
FAT filesystems and we get EINVAL back. In that case we fall back to not
using tmp names for mkdir.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15845

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
(cherry picked from commit c2b74ef093aff6175ef8e4572a203e5beacc527f)
source3/smbd/open.c