search for: d40f57321a12

Displaying 3 results from an estimated 3 matches for "d40f57321a12".

2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
On 3/16/24 06:59, Michael Tokarev via samba wrote: > How to prevent rm and mv from touching a locked file? cf man smb.conf "kernel share modes" and git diff d40f57321a12~9..d40f57321a12 Cheers! -slow -------------- 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/attachments/20240316/1f32f314/Open...
2024 Mar 16
2
samba allows rename to a locked file (from linux cifs mount)
Hi! When I mount a samba share on linux (with mount -t cifs), samba correctly return EBUSY when trying to open a file for writing which is locked by some other client. However, I can trivially rename or (remove and create anew) such file from linux without any restrictions. After doing so, windows clients fail to open this (replaced) file exactly the same way as if I replaced it behind
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
16.03.2024 16:06, Ralph Boehme wrote: > On 3/16/24 06:59, Michael Tokarev via samba wrote: >> How to prevent rm and mv from touching a locked file? > > cf man smb.conf "kernel share modes" and > > git diff d40f57321a12~9..d40f57321a12 Hello Ralph! I'm not sure we understand each other here. Yes I'm aware of "kernel share modes" and turning off support of these by default. I never bothered to find where exactly it has been removed. But I'm talking - hopefully - about something very differ...