NFS mount of smb mount of windows share: permission denied problem :(
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
NFS mount of smb mount of windows share: permission denied problem :(
i am trying to mount a windows shared folder in tru64 OSF V5.1 unix, and i wasnt very successful doing it directly from windows box to unix box. samba gives only ftp-like command line client, and nfs option wasnt successul either (i have windows SFU running NFS server on windows box).
so i smb mounted windows shared folder on another linux box running FC1 and now trying to NFS mount this in tru64 unix box.
smb mount in FC1 box is successful, and when i try to mount it in tru64 unix with:
mount FC1box:/mnt/DATA /DATA
it says:
cant's access FC1box:/mnt/DATA: permission denied.
i do have /mnt/DATA in /etc/exportfs, and nfs generally works since i was able to mount /home in tru64 unix box successfully.
is it because i am mounting a mounted file system?
or what should i do to fix this permission issues?
as NFS is a fully secure and compliant UNIX file system protocol, it will explicitly refuse to share non-unix filesystems within it. as such you won't be able to sub-share a local windows drive or smb/cifs share though NFS. It might be annoying, but there's always a better way to do it...
as NFS is a fully secure and compliant UNIX file system protocol, it will explicitly refuse to share non-unix filesystems within it. as such you won't be able to sub-share a local windows drive or smb/cifs share though NFS. It might be annoying, but there's always a better way to do it...
May I be so bold as to ask what this better way is?
Well, I had the same problem, and this thread is ranked high on google results. Searching the forum before posting new threads is much more effective if solutions are posted with the problem. Why now: because this is still the case four years later.
Solution: The most direct way is to work around it in most cases, and mount the cifs share separately on the other machines instead of submounting it on an nfs share.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.