Re: Nfs permissions problem -



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



Relevant Pages

  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)
  • [Full-Disclosure] R: Full-Disclosure Digest, Vol 3, Issue 42
    ... Full-Disclosure Digest, Vol 3, Issue 42 ... SD Server 4.0.70 Directory Traversal Bug ... Arkeia Network Backup Client Remote Access ...
    (Full-Disclosure)
  • Re: What doesnt lend itself to OO?
    ... > rather than client code. ... no way to do that without also touching the object with clock semantics ... will not encapsulate both clock semantics and network semantics. ... The server can do whatever it wants ...
    (comp.object)
  • RE: Fax monitor incoming + outgoing calls?
    ... problem between the client computer and the SBS server. ... Client is using the internal IP address of the SBS server as the ... To the folder redirection GPO issue: ...
    (microsoft.public.windows.server.sbs)