Re: NFS help requested please --- FIXED.
From: jDeGraw (coffee412_at_komkast.net)
Date: 05/21/04
- Next message: Brian Lockwood: "Re: New Redhat 9.0 install, No internet"
- Previous message: mjt: "Re: Dual-Boot of WinXP/Fedora-Core 2 - can't boot WinXP after install"
- In reply to: jDeGraw: "NFS help requested please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Brian Lockwood: "Re: New Redhat 9.0 install, No internet"
- Previous message: mjt: "Re: Dual-Boot of WinXP/Fedora-Core 2 - can't boot WinXP after install"
- In reply to: jDeGraw: "NFS help requested please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|