Re: [PATCH] smb/server: check destination is open when renaming
ChenXiaoSong <[email protected]>
| Newsgroups | org.kernel.vger.linux-cifs |
|---|---|
| Message-ID | <[email protected]> |
According to MS-FSA 2.1.5.15.12, level 10 (FileRenameInformation), an overwrite rename must fail with STATUS_ACCESS_DENIED if the existing target still has an open. MS-FSA 2.1.5.15.12 FileRenameInformation: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fsa/87f86c9b-6c2a-4803-84b7-131a74a434fa On 8/4/26 15:53, Namjae Jeon wrote: > Okay. We can implement this in ksmbd and cifs.ko to pass generic/035 test. > > Thanks for sharing it. -- ChenXiaoSong <[email protected]> Chinese Homepage: https://chenxiaosong.com English Homepage: https://chenxiaosong.com/en