Re: Nfs permissions problem -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2009-07-04 at 17:10 -0400, Bob Goodwin wrote:
> Sharpe, Sam J wrote:
> > 2009/7/4 Bob Goodwin <bobgoodwin@xxxxxxxxxxxx>:
> >   
> >> Sharpe, Sam J wrote:
> >>     
> >>> 2009/7/4 Bob Goodwin <bobgoodwin@xxxxxxxxxxxx>:
> >>>
> >>>       
> >>>> Can anyone tell me how to enable user "bobg" to access the nfs server on
> >>>> my box48?
> >>>>
> >>>> At the rate I'm going I will have all the permissions set to 777, will
> >>>> need a new install to get them back where they ought to be.
> >>>>
> >>>>  [bobg@box9 ~]$ ll -al  /mnt/home
> >>>>  ls: cannot access /mnt/home: Permission denied
> >>>>  [bobg@box9 ~]$ cd /mnt/home
> >>>>  bash: cd: /mnt/home: Permission denied
> >>>>  [bobg@box9 ~]$ ll -al  /mnt/home
> >>>>  ls: cannot access /mnt/home: Permission denied
> >>>>         
> >>> Usernames are irrelevant. Tell us the UID's of bobg on each box ("id
> >>> bobg" on each box will be sufficient).
> >>>
> >>>       
> >> I have looked through the books I have as well as man pages but never found
> >> that command! I thank you for that alone.
> >>
> >> Both server and client report the same:.
> >>
> >>   [bobg@box9 ~]$ id bobg
> >>   uid=500(bobg) gid=500(bobg) groups=500(bobg)
> >>     
> >
> > Ok, so you don't have a UID mismatch ;o)
> >
> > The relevant lines from /etc/fstab (or equivalent autofs config) from
> > the client and /etc/exports on the server might be helpful, as would
> > the permissions as seen (by root if necessary) on the client and the
> > server of /mnt/home. You might also find in /var/log/messages some
> > helpful error messages on both client and server - knowing what they
> > are might help us to help you ;o)
> >
> > --
> > Sam
> >
> >   
> /etc/fstab on the client box9:
> .
> 
>     192.168.1.48:/home/NFS-files    /mnt/home    nfs   
>     defaults,rw,user        0 0
> 
>     192.168.1.48:/media/SimpleDrive/data/      /mnt/home       nfs   
>     defaults,rw,user    0 0
> 
>     [root@box9 /]# ll /etc/fstab
>     -rw-rw-r-- 1 bobg root 1072 2009-06-29 17:33 /etc/fstab
----
you definitely should not have 2 different nfs shares targeted for the
same mount point (/mnt/home) - that is a problem. Also, it is tricky to
do 'user' mounts because users would necessarily have write permissions.
So I would suggest that as root, you not only fix /etc/fstab on this
computer but you also chmod 777 on /mnt/home so users can deal with it.
But to be honest, /mnt was never intended to be a network mount point.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux