Bug 11273 - Can't mount Subdirectories
Can't mount Subdirectories
Status: NEW
Product: CifsVFS
Classification: Unclassified
Component: kernel fs
x64 Linux
: P5 normal
: ---
Assigned To: Steve French
Depends on:
  Show dependency treegraph
Reported: 2015-05-13 12:11 UTC by Paul Becker
Modified: 2015-05-15 11:51 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Paul Becker 2015-05-13 12:11:10 UTC
Mounting a subdirectory of a Samba Share isn't possible with the updated binaries on Cent OS 7 anymore. We need this option for autofs mounting just subdirectories for specific users. 

[pb@extrasrv1 ~]# rpm -qa | grep samba

[pb@extrasrv1 ~]# mount -t cifs -o noserverino,sec=ntlm,rw,noperm,user=fordasia //storagesrv1.eom.de/extranet/fordasia /mnt/extranet/
Password for fordasia@//storagesrv1.eom.de/extranet/fordasia:  ***************
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[root@extrasrv1 ~]# mount -t cifs -o noserverino,sec=ntlm,rw,noperm,user=fordasia //storagesrv1.eom.de/extranet /mnt/extranet/
Password for fordasia@//storagesrv1.eom.de/extranet:  ***************
[root@extrasrv1 ~]# ls -l /mnt/extranet/
total 0
drwxr-xr-x 2 root root 0 Mar  6 09:21 fordasia

We are still able mounting the share with older binaries in CentOS 6. Please let me know if I am able to serve with further details.
Comment 1 Björn Jacke 2015-05-15 11:51:13 UTC
this is a kernel cifs vfs issue