]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: fix access denied on change notify request to some servers
authorSteve French <stfrench@microsoft.com>
Tue, 7 Jul 2020 23:08:46 +0000 (18:08 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 7 Jul 2020 23:24:39 +0000 (18:24 -0500)
commitfb41f20606359332642d3103eade46d13b232009
treefa7e9e2e5177412fe22a2bc4bbf41fd23c60ddc8
parent7952384771d28acf3a2e59e7e19595e6dca1c650
smb3: fix access denied on change notify request to some servers

read permission, not just read attributes permission, is required
on the directory.

See MS-SMB2 (protocol specification) section 3.3.5.19.

Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org> # v5.6+
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/smb2ops.c