dickohead Posted November 14, 2004 Report Share Posted November 14, 2004 Hey guys, I have set up some NFS shares, and i have access to them, but i am unable to write to them at all..... Here is the contents of /etc/exports on the server: /home/tim/Music *(rw,all_squash,sync) /home/tim/Storage *(rw,all_squash,sync) /var/www/html/tim *(rw,all_suqash,sync) and here is the contents of /etc/fstab on the client: 192.168.1.111:/home/tim/Music /mnt/Music nfs soft,rsize=8192,wsize=8192,nosuid 0 0 192.168.1.111:/home/tim/Storage /mnt/Storage nfs soft,rsize=8192,wsize=8192,nosuid 0 0 192.168.1.111:/var/www/html/tim /mnt/tim nfs soft,rsize=8192,wsize=8192,nosuid 0 0 According to what i have read, this should be correct.... but for some reason... it won't allow me full access, i have resytarted both sets of NFS (NMB) services on the client and the server, but access is still denied..... both the client and server are running mandrake 10. Hope someone can see what i have done wrong!! :unsure: Quote Link to comment Share on other sites More sharing options...
SoulSe Posted November 14, 2004 Report Share Posted November 14, 2004 Did you run exportfs after setting your shares? Sorry, I might be a bit rusty, but I believe that's the right command... Quote Link to comment Share on other sites More sharing options...
dickohead Posted November 15, 2004 Author Report Share Posted November 15, 2004 yeh exportsfs has been run, and the shares are picked up by the client, but i am unable to write to them.... it's odd, because the samba shares are working perfectly, read and write :confused: Quote Link to comment Share on other sites More sharing options...
SoulSe Posted November 15, 2004 Report Share Posted November 15, 2004 How have you set the permissions on the shares? If they're, for example, 755 - then you would have to mount them as the same user who created them. Quote Link to comment Share on other sites More sharing options...
Gowator Posted November 15, 2004 Report Share Posted November 15, 2004 Most importantly, remember the user needs access to the mount point to! If the share is exported perfectly and mounted on say /mnt/share then /mnt/share needs to be rwx for the user too. (This is the easiest part to forget - at least i often do soince you create the /mnt/... as root and forget to change the permissions!) Quote Link to comment Share on other sites More sharing options...
dickohead Posted November 23, 2004 Author Report Share Posted November 23, 2004 *bashes self in head* thanks gowator, that's exactly what i forgot, been dealing with Samba and Apache a whole lot, and i was doing all that at the command line, but when using MDK to access NFS it was all graphical, and i wasn't logged in as root.... so it will work as root, which makes sense, but not as my user, which i shall fix when i get home! Thanks for reminding me! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.