Samba 4.22++ - RENAME_NOREPLACE w/o fallback?

Ralph Boehme slow at samba.org
Wed Oct 22 09:19:10 UTC 2025


On 10/22/25 10:55 AM, Douglas Bagnall via samba-technical wrote:
> On 18/10/25 02:01, Heiner Lesaar via samba-technical wrote:
>> Dear samba-technical,
>>
>> we noticed after upgrading from Samba 4.20 to 4.22.3 (and later), that
>> directory creation on MacOS causes a weird folder creation "loop" when
>> creating a new folder in MacOS Finder. Finder basically forever keeps
>> creating new directories.
>>
>> This is only when the underlying filesystem is BeeGFS, a parallel
>> filesystem which does not support RENAME_NOREPLACE.
>>
>> My question: Is there a mechanism to tell Samba to revert to previous
>> behaviour of not using RENAME_NOREPLACE if the underlying filesystem does
>> not support it?
> 
> I think that is unlikely. What we want is to get this logic right.
in the best Samba tradition there's an option for everything:

vfs mkdir use tmp name = no

cf man smb.conf

-slow

-- 
SerNet Samba Team Lead https://sernet.de/
Samba Team Member      https://samba.org/
Samba Support and Dev  https://samba.plus/services/
SAMBA+ packages        https://samba.plus/products/samba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20251022/b673cb1a/OpenPGP_signature.sig>


More information about the samba-technical mailing list