diff options
| author | ChenXiaoSong <chenxiaosong@kylinos.cn> | 2026-06-28 07:42:43 +0000 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-06-30 21:29:46 -0500 |
| commit | 851ed9e09639e0daf79a506ce26097b296ed5518 (patch) | |
| tree | a5782acc2614c671906a8bcb2a9ac255d9d84c6c /rust/kernel/drm/gpuvm/git@git.tavy.me:linux-stable.git | |
| parent | 27a9bc968d4ae809a3f5ca2f2b136856ee613cb4 (diff) | |
smb/server: do not require delete access for non-replacing links
Reproducer:
1. server: systemctl start ksmbd
2. client: mount -t cifs //${server_ip}/export /mnt
3. client: touch /mnt/file; ln /mnt/file /mnt/hardlink
4. client err log: ln: failed to create hard link 'hardlink' =>
'file': Permission denied
5. server err log: ksmbd: no right to delete : 0x80
Fixes: 13f3942f2bf4 ("ksmbd: add per-handle permission check to FILE_LINK_INFORMATION")
Cc: stable@vger.kernel.org
Reported-by: Steve French <stfrench@microsoft.com>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/kernel/drm/gpuvm/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
