[Samba] Error -36 for moving a file if another mac has the same folder open
Matthias Kühne | Ellerhold Aktiengesellschaft
matthias.kuehne at ellerhold.de
Mon Jul 29 13:32:27 UTC 2024
Hello lovely samba-people,
Ive got a Mac OS specific problem... Lets say you have two Macs both
opening the same folder on the same share.
Using one Mac: move a file into this folder - works. Its shown on both
Macs in their finder window.
Now try to move the file into another folder. You'll get error -36
"Finder could not complete this operation because some data in
‘test.pdf’ could not be read or written." (Translated error message from
german). Click OK on the error message and try again: Now you can move
the file without an error.
If the 2nd Mac closes the folders in finder, you can move the file
freely without any error.
Disabling "level2 oplocks" on the share fixes the error too, but
decrease the perfomance massively.
In this test both Macs had the latest version (14.5) installed and the
latest Samba version was installed on Debian Bookworm
(2:4.20.2+dfsg-7~mjt-deb12).
Without a second mac, the problem vanishes. Windows can transfer files
without errors if a mac has the folder open. The mac wont update their
view though...
An old Mac (10.13) has no problems too...
Does anybody have an idea what I can instead of disabling level2 oplocks
again or telling my colleagues to switch to windows?
Regards, Matthias.
--
Senior Webentwickler
Datenschutzbeauftragter
Ellerhold Aktiengesellschaft
Friedrich-List-Str. 4
01445 Radebeul
Telefon: +49 (0) 351 83933-61
Web: www.ellerhold.de
Facebook: www.facebook.com/ellerhold.gruppe
Instagram: www.instagram.com/ellerhold.gruppe
LinkedIn: www.linkedin.com/company/ellerhold-gruppe
Amtsgericht Dresden / HRB 23769
Vorstand: Stephan Ellerhold, Maximilian Ellerhold
Vorsitzender des Aufsichtsrates: Frank Ellerhold
---Diese E-Mail und Ihre Anlagen enthalten vertrauliche Mitteilungen. Sollten Sie nicht der beabsichtigte Adressat sein, so bitten wir Sie um Mitteilung und um sofortiges löschen dieser E-Mail und der Anlagen.
Unsere Hinweise zum Datenschutz finden Sie hier: http://www.ellerhold.de/datenschutz/
This e-mail and its attachments are privileged and confidential. If you are not the intended recipient, please notify us and immediately delete this e-mail and its attachments.
You can find our privacy policy here: http://www.ellerhold.de/datenschutz/
More information about the samba
mailing list