nfs mount not working
Donny George
donny008 at gmail.com
Wed Aug 6 13:05:24 UTC 2008
On Wed, Aug 6, 2008 at 2:18 PM, Mark Haney <mhaney at ercbroadband.org> wrote:
> Donny George wrote:
> >
>
> >
> > hello mark
> >
> > i guess i get the point. so you meant that i have to set the read write
> permission to all users. i am not an expert in ubuntu but i hope i get this
> basic part which u said
> >
> > can i do it with chmod ogu=rwx i am not sure about this command is this
> the right one to set the rw permission to all users ?
> >
> > donny
> >
> >
> >
> >
>
>
> Not exactly. Let me see if I can explain a little better. The issue (I
> think, based on what you've told us) is that you have a user on System A
> that is trying to modify a file (via an NFS mount) on System B. Keep in
> mind here that in effect user A is simply trying to change a file on
> System B. If user A doesn't have /permission/ to change that file on
> System B he won't be able to.
>
> The fact that NFS is set to RW gives him the capability to change the
> file, but only if he has the correct permissions to that file.
>
> Does that make sense? In effect the user accounts on System A and
> System B must be identical (not exactly, but or this, let's keep it
> simple) in order for this to work. This means UIDs and GIDs.
>
> If you have two user accounts 'Bob' (one on each system), and the UIDs
> don't match, then even though Bob can mount the filesystem via NFS, he
> won't be able to modify the file since the UIDs don't match.
>
> Really, this isn't an NFS issue, so much as a file permissions issue ON
> THE SYSTEMS.
>
> Do this, have that user log into the NFS server via ssh and see if he
> can modify the file that you are having trouble with. If I'm right, he
> won't be able to that way either.
>
> You know, after reading this to myself, I realize how crappy it sounds.
> I'll be glad to work with you offlist since I deal with NFS a lot.
>
>
> --
> Libenter homines id quod volunt credunt -- Caius Julius Caesar
>
>
> Mark Haney
> Sr. Systems Administrator
> ERC Broadband
> (828) 350-2415
>
> Call (866) ERC-7110 for after hours support
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
hey mark
thankyou for the mail
and now its seems working
this is the etc/export on the server
/home/users 10.4.139.3(rw,no_root_squash,async)
/srv 10.4.139.3(rw,no_root_squash,async)
and the clients etc/fstab is
10.4.139.2:/srv /srv nfs rsize=8192,wsize=8192,timeo=14,intr
10.4.139.2:/home/users /home/users nfs rsize=8192,wsize=8192,timeo=14,intr
this is working at the moment
but i dont know wen it will stop working :)
donny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080806/e321735b/attachment.html>
More information about the ubuntu-users
mailing list