Re: Problem setting up NFS on Ubuntu
- From: Alan Adams <alan.adams@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Dec 2005 20:27:46 GMT
In message <b6454edc4d.Alan.Adams@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Alan Adams <alan.adams@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Following up my own post... (I know, but I think it might help)
> I am attempting to set up an NFS server on Ubuntu. I have installed Ubuntu
> from a recently downloaded ISO. Package manager lists
> linux-image-2.6.12-10-386
>
> I used System - Administration - Synaptic Package Manager to include NFS
> nfs-kernel-server 1:1.0.7-3ubuntul, which included various other bits.
>
> I edited /etc/exports.
>
> (How are you supposed to do this? I enabled the password on root, used su
> from a terminal, and dragged up some recollections of vi from my previous
> Unix experience, all of it over 5 years old, and mostly SunOS 1.4, with some
> Motorola.) Should I be using the GUI, and if so, how do I do that as root,
> or with sufficient access to edit root-owned files?)
>
> The remote system can now mount the disc, but it all appears to be
> write-protected. (It was readonly, but I changed that in /etc/exports. Now I
> seem to be hitting "file owned by root, nobody else gets write".)
>
> The relevant bit of /etc/exports currently says
> /media/hdb1 rpc(rw,sync,all_squash,anonuid=1000,anongid=1000)
>
> /media/hdb1 is a FAT32 disc, with linux installed only on hda
> 1000,1000 is the only user, apart from root, on the system.
>
> /etc/fstab has
> /dev/hdb1 /media/hdb1 vfat defaults 0 0
>
> I tried using chmod 777 <any directory>, which doesn't issue an error
> message, and doesn't change the permissions displayed by ls -l
I suspect NFS is working correctly, and my problem is simple file
permissions. User 1000,1000 (Alan) cannot modify these files on Linux
either. The ownership is root, the permissions owner:rwe, group:re,
other:re. I'm missing something basic - how do I get control of these files.
Bearing in mind that this is a FAT32 filesystem, so presumably doesn't have
permissions until it's mounted on Unix. Where do those default permissions
come from? Or am I (probably) misunderstanding something basic?
> The client software has the options of anonymous connection or specifying a
> uid/gid pair. I tried both. The client is Sunfish, on a Risc PC if that
> helps.
>
>
>
--
Alan Adams, from Northamptonshire
alan.adams@xxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.nckc.org.uk/
.
- Follow-Ups:
- Re: Problem setting up NFS on Ubuntu
- From: Michael Heiming
- Re: Problem setting up NFS on Ubuntu
- References:
- Problem setting up NFS on Ubuntu
- From: Alan Adams
- Problem setting up NFS on Ubuntu
- Prev by Date: Re: dual boot with xp on same drive
- Next by Date: Re: Problem setting up NFS on Ubuntu
- Previous by thread: Problem setting up NFS on Ubuntu
- Next by thread: Re: Problem setting up NFS on Ubuntu
- Index(es):
Relevant Pages
|