Bug ID 1181710
Summary CIFS_MOUNT_USE_PREFIX_PATH seems disabled since Linux-5.3.18-lp152.60 patch
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.2
Hardware x86-64
OS openSUSE Leap 15.2
Status NEW
Severity Normal
Priority P5 - None
Component Samba
Assignee samba-maintainers@SuSE.de
Reporter duge@pre-sense.de
QA Contact samba-maintainers@SuSE.de
Found By ---
Blocker ---

Since the Linux-5.3.18-lp152.60 patch (2021-01-15) I can't access CIFS shares
where the parent folder has no read permissions.

Example:
mount -t cifs \\server\users_share\alice /mnt
Alice has no permissions for the folder "users_share", so she can't see other
usernames.
But Alice has permissions for the folder "alice".

Until 5.3.18-lp152.57 such a mount worked fine.
I just got this message with 5.3.18-lp152.57:
| cannot query dirs between root and final path, enabling
CIFS_MOUNT_USE_PREFIX_PATH
But the mount was fine.

I believe this patch might be the cause for this problem:
kernel-default.15528/patches.suse.tar.bz2/cifs-ensure-correct-super-block-for-DFS-reconnect.patch:158
https://build.opensuse.org/package/show/openSUSE:Leap:15.2:Update/kernel-default.15528


Note:
This is about the Linux kernel on the client.
The server is a NetApp device based on FreeBSD and Samba:
https://en.wikipedia.org/wiki/NetApp
I'm currently trying to reproduce this with different servers.


You are receiving this mail because: