LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-11-2005, 12:41 PM   #1
Peter@dk
LQ Newbie
 
Registered: May 2004
Location: Denmark
Distribution: Ubuntu: Dapper - Edgy - Feisty
Posts: 6

Rep: Reputation: 0
NFS Cant mount with rw permissions


Hi there

Having some problems to mount NFS with the right permissions.

I have the following lines in my hosts allow:

service: 192.168.1.30/255.255.255.0

portmap: 192.168.1.30
lockd: 192.168.1.30
rquotad:192.168 1.30
mountd:192.168.1.30
statd:192.168.1.30

And the following in my exports:

/home/peter 192.168.1.20(insecure,rw,nohide)

On the client machine i have added the following line:

192.168.1.20:/home/peter /home/bunny/test nfs rw,users 0 0


I can mount the directory, but only with read acces !

Can anyone see whats wrong ??
 
Old 06-11-2005, 01:14 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i would stronly suggest that it's down to unix file permissions. Remember that just becauase it's located on a different machine, that it isn't bound by the same issues you are used to locally... so ensure that the files do have individual permissions suitable for your user. also note that as your (correctly) NOT using the no_root_squash option, you can't use root to force a different mode on any machine but the server itself.
 
Old 06-11-2005, 01:50 PM   #3
Peter@dk
LQ Newbie
 
Registered: May 2004
Location: Denmark
Distribution: Ubuntu: Dapper - Edgy - Feisty
Posts: 6

Original Poster
Rep: Reputation: 0
SuSE 9.2 and KDE seems to have the possibility to do "Home sharing" by a GUI, but i cant get it to work.


How do i give a user rw permissions to a home directory by command line ??
 
Old 06-12-2005, 04:02 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
all down to using standard utils like chmod, but on the server side of course.
 
  


Reply



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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM
NFS - can't mount - permissions denied error mchitsquad Mandriva 2 09-01-2003 05:23 PM
NFS Permissions aqoliveira Linux - General 0 01-10-2002 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:15 AM.

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
Open Source Consulting | Domain Registration