Re: Nfs permissions problem -

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

 



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

/etc/fstab on the server box48:
.

   192.168.1.48/home/NFS-files    /mnt/home      nfs      rw,user    0 0

   [root@box48 ~]# ll  /etc/fstab
   -rw-rw-r-- 1 bobg root 1250 2009-07-04 14:32 /etc/fstab

And /etc/exports on the server:

   [root@box48 ~]# cat /etc/exports
   #!/bin/bash
   #    /etc/exports

   /home/NFS-files        192.168.1.0/24(rw,sync,no_root_squash)

   /home/NFS-share    192.168.1.0/24(rw,sync,no_root_squash)

   /home/NFS-mac/    192.168.1.0/24(rw,insecure,sync,no_root_squash)

   # /home/NFS-share        */26(rw)

   /ISO            192.168.1.0/24(rw,sync,no_root_squash)

/media/SimpleDrive/data/ 192.168.1.0/24(rw,sync,insecure,no_root_squash)


I tried to get the log to show something specific to nfs but nothing!

Bob
.

--
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