]> 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)
committerStefan Metzmacher <metze@samba.org>
Thu, 17 Apr 2025 10:27:33 +0000 (10:27 +0000)
commitc2b74ef093aff6175ef8e4572a203e5beacc527f
tree96d9bfbeee9ec7d89999312f992fa1271d33c373
parent9e637a28bd0b5adc2d90df9ca4a1c864a648b0f4
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>
source3/smbd/open.c