Re: NFS help requested please --- FIXED.

From: jDeGraw (coffee412_at_komkast.net)
Date: 05/21/04


Date: Fri, 21 May 2004 01:29:03 GMT

On Thu, 20 May 2004 02:04:53 +0000, jDeGraw wrote:

> Iam having a rather tough time getting NFS working on my two fedora
> servers. Its actually a permissions problem on the shares that is stopping
> me. I can access shares as root but not as a normal user.
>
> nfs server = boris.athome.net
> client = coffee.athome.net
>
> my exports file:
>
> /mnt/120disk1 coffee(rw,no_root_squash)
>
> my fstab entry:
>
> boris:/mnt/120disk1 /home/coffee/public nfs rw 0 0
>
> ls listing as user coffee:
>
> ls -l /home/coffee/public
>
> ls: public/lost+found: Permission denied
> ls: public/pub: Permission denied
> ls: public/christie: Permission denied
> ls: public/coffee: Permission denied
> ls: public/sally: Permission denied
> ls: public/dscf0337.avi: Permission denied
> ls: public/dscf0345.avi: Permission denied
>
>
> I would think that nfs permissions in the exports file would over ride any
> other permissions? But user coffee cannot r/w the /home/coffee/public
> directory. User root can though probably because of no_root_squash entry
> in exports file.
>
> I would really enjoy some help at this point. No errors in logs, nfs
> mounts fine, no problems.
>
>

I found it!
I got the problem licked!

This was stupid. I changed the permissions on the directory
/home/coffee/public to 755 and owner root. As soon as I did this the whole
nfs filesystem was r/w available to the normal user coffee.

I do believe its the execute bit that has to be set on all the files.

chmod -R 755 /home/coffee/public

I can now export with no problems.

jDeGraw



Relevant Pages

  • Re: RH9: I need to start ADSL-START as root for the first time after boot ....
    ... > After connecting as root, I also may disconnect and run the program as ... > normal user and it successfully connect so far. ... relevant permissions after you first start it up as root. ... BTW, while creating my home network, I used the RH network GUI to set up ...
    (comp.os.linux.networking)
  • Re: Eclipse: Installing updates
    ... I noticed that as a normal user, installing eclipse updates may require write ... permissions to root filesystem areas and will fail. ...
    (Fedora)
  • Re: file/program permission
    ... > However, when I try to run it as a normal user, I get the following ... > files/programs that icc needs do not have the appropriate permissions. ... 755 then look into running icc as suid root. ...
    (linux.redhat)
  • Re: file/program permission
    ... > However, when I try to run it as a normal user, I get the following ... > files/programs that icc needs do not have the appropriate permissions. ... 755 then look into running icc as suid root. ...
    (linux.redhat.misc)
  • Re: RH9: I need to start ADSL-START as root for the first time after boot ....
    ... >> program as normal user and it successfully connect so far. ... > relevant permissions after you first start it up as root. ... > BTW, while creating my home network, I used the RH network GUI to set up ... redhat-config-network in RH9 malfunctions (python scripts ...
    (comp.os.linux.networking)