diff options
author | Steve French <sfrench@us.ibm.com> | 2008-12-05 14:14:12 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-12-25 21:29:11 -0500 |
commit | 8be0ed44c2fa4afcf2c6d2fb3102c926e9f989df (patch) | |
tree | d0d003c8c9f12b865f0bf8f2015134d7b7031ee5 /fs/cifs/CHANGES | |
parent | 61e748015866e48aff91284e3d300c6e3035a87a (diff) |
[CIFS] Can not mount with prefixpath if root directory of share is inaccessible
Windows allows you to deny access to the top of a share, but permit access to
a directory lower in the path. With the prefixpath feature of cifs
(ie mounting \\server\share\directory\subdirectory\etc.) this should have
worked if the user specified a prefixpath which put the root of the mount
at a directory to which he had access, but we still were doing a lookup
on the root of the share (null path) when we should have been doing it on
the prefixpath subdirectory.
This fixes Samba bug # 5925
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/CHANGES')
-rw-r--r-- | fs/cifs/CHANGES | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 3d848f463c44..5ab6bcce880a 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -2,7 +2,9 @@ Version 1.56 | |||
2 | ------------ | 2 | ------------ |
3 | Add "forcemandatorylock" mount option to allow user to use mandatory | 3 | Add "forcemandatorylock" mount option to allow user to use mandatory |
4 | rather than posix (advisory) byte range locks, even though server would | 4 | rather than posix (advisory) byte range locks, even though server would |
5 | support posix byte range locks. | 5 | support posix byte range locks. Fix query of root inode when prefixpath |
6 | specified and user does not have access to query information about the | ||
7 | top of the share. | ||
6 | 8 | ||
7 | Version 1.55 | 9 | Version 1.55 |
8 | ------------ | 10 | ------------ |