LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Windows 7 NFS access Linux root directory problem (https://www.linuxquestions.org/questions/linux-newbie-8/windows-7-nfs-access-linux-root-directory-problem-4175525625/)

howandsen 11-17-2014 04:30 AM

Windows 7 NFS access Linux root directory problem
 
1 Attachment(s)
NFS server running on CentOS 7.0
only one line in /etc/exports:
Code:

/    192.168.*.*(rw,all_squash)
I tested on the server, everything goes well.

Then I mounted it on Windows 7
Code:

mount 192.168.32.215:/ z:
It can be successfully mounted, but when I try to access the driver, I got this
'The network path was not found.'
http://www.linuxquestions.org/questi...1&d=1416219983

jpollard 11-17-2014 02:28 PM

Well... giving windows access to the root directory is not a good idea - it will allow Windows to copy things it shouldn't have access to.

Second, SELinux could be blocking access if the boolean control doesn't permit the root filesystem to be exported...

Normal operation of a server would never export the root filesystem. That introduces too many security problems. Exporting a data filesystem/directory tree is what is normally done.


All times are GMT -5. The time now is 08:46 PM.