LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2014, 05:30 AM   #1
howandsen
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Rep: Reputation: Disabled
Question Windows 7 NFS access Linux root directory problem


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
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	16
Size:	24.2 KB
ID:	16879  

Last edited by howandsen; 11-17-2014 at 05:35 AM.
 
Old 11-17-2014, 03:28 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
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.
 
  


Reply

Tags
nfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I NFS-export a directory I own if I'm not root? elsutjr Linux - Server 1 04-05-2014 08:06 AM
NFS setup to access directory from a remote machine as non-root user suraj278 Linux - Server 3 03-06-2012 10:00 PM
NFS directory access problem waelaltaqi Linux - Networking 2 11-05-2005 11:25 PM
Permission denied when access linux from windows through NFS implementation red_colt Linux - Networking 2 08-12-2005 03:54 AM
NFS Share access problem from Windows Help!!! Sabeer Linux - Networking 1 07-08-2003 09:59 AM


All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration