On Tue, 2007-06-05 at 13:47 +0100, Dave Howorth wrote:
> Zhang Weiwu wrote:
> > Dear list
> > 
> > NFS server (Ubuntu 7 with nfs-user-server installed) is exporting a
> > single folder to a single host:
> > 
> > [EMAIL PROTECTED]:~$ cat /etc/exports 
> > # /etc/exports: the access control list for filesystems which may be 
> > exported
> > #               to NFS clients.  See exports(5).
> > /home/zhangweiwu/Movies 
> > 218.193.55.195(rw,anonuid=1000,anongid=100,all_squash,no_secure)
> 
> Is no_secure a valid option?

I don't know but without this option if my SuSE 10.2 is nfs server and
Ubuntu is nfs client, the client cannot mount. So I just use this option
to avoid SuSE client not being able to mount ubuntu nfs server

> 
> > The client (SuSE 10.2) can mount as rw correctly but cannot write:
> > 
> > joe:/home/yuliansu # mount -v eula:/home/zhangweiwu/Movies Movies/
> > eula:/home/zhangweiwu/Movies on /home/yuliansu/Movies type nfs 
> > (rw,addr=124.72.54.254)
> > joe:/home/yuliansu/Movies # rm Movies/*
> > rm: cannot remove `Breakfast.At.Tiffanys.CD1.avi': Read-only file system
> > 
> > I have checked the files in Movies folder belong to user 1000, group
> > 1000, permission 666, so permission should be okay.
> 
> (this is a red herring but in the interest of accuracy...) It's the
> permissions of the directory that count. What are they?

the permission of the directory 755, owned by uid=1000 gid=100

> 
> Also you say it is exported as gid 100 but the user is gid 1000 ???

Yes that's the strange! On Ubuntu every file I have in my home directory
is of uid:1000 and gid:1000, on SuSE it's uid:1000 gid:100

I don't know why Ubuntu created a user group 'zhangweiwu' when I created
my own account 'zhangweiwu' with all default options. If this is more or
less a Ubuntu issue I'll forward to Ubuntu forum. I am only not sure.

> 
> > I simply begin to have no clue to go on, what else should I look for
> > finding out why I am told "Read-only file system" (it is NOT)?
> 
> What does /etc/mtab say?

[EMAIL PROTECTED]:~> grep Movies /etc/mtab 
eula:/home/zhangweiwu/Movies /home/yuliansu/Movies nfs
rw,addr=124.72.54.254 0 0


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to