SMB3 POSIX and deleting files with FILE_ATTRIBUTE_READONLY

Ralph Boehme slow at samba.org
Thu Apr 10 19:26:46 UTC 2025


On 4/10/25 5:02 PM, Jeremy Allison wrote:
> On Thu, Apr 10, 2025 at 10:33:54AM +0200, Ralph Boehme wrote:
>> On 4/10/25 12:43 AM, Jeremy Allison wrote:
>>> Does Windows ever send FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE over
>>> the wire ?
>>
>> No, it's local only, cf MS-FSCC and the thread "SMB2 DELETE vs UNLINK" 
>> on the Linux cifs mailing list.
>>
>> <https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms- 
>> fscc/4718fc40-e539-4014-8e33-b675af74e3e1>
> 
> OK, but does the Windows SMB3 server filter it out ?

yes.

> Can a Linux client send it over the wire and does
> it have the desired effect ?

no.  Cf the thread I mentioned.

Thanks!
-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-technical/attachments/20250410/ff8ea5cd/OpenPGP_signature.sig>


More information about the samba-technical mailing list