* Re: [NFS] New files on read only NFS mount [not found] ` <001601c0ab02$df976860$0100a8c0@chris> @ 2001-03-12 14:56 ` Trond Myklebust 2001-03-15 7:09 ` H . J . Lu 0 siblings, 1 reply; 2+ messages in thread From: Trond Myklebust @ 2001-03-12 14:56 UTC (permalink / raw) To: Chris Jensen; +Cc: NFS maillist, Linux Kernel >>>>> " " == Chris Jensen <christopher.jensen@studentmail.newcastle.edu.au> writes: >> Details please, the minimum info required being 'which kernel >> is your client running'? >> > Oh yeah, whoops, sorry The server is a 586 and the client is > 686. They're both using nfs-utils 0.2.1, under linux 2.4.0 > with NFS v3 enabled, with glibc 2.2.1 The pertinent line in > /etc/exports is / 192.168.0.1(rw,no_root_squash) How does the following patch work out? Cheers, Trond --- fs/nfs/dir.c.orig Fri Feb 9 20:29:44 2001 +++ fs/nfs/dir.c Mon Mar 12 15:54:14 2001 @@ -1097,6 +1097,10 @@ if (!NFS_PROTO(inode)->access) goto out; + + if (error == -EROFS) + goto out; + /* * Trust UNIX mode bits except: * ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [NFS] New files on read only NFS mount 2001-03-12 14:56 ` [NFS] New files on read only NFS mount Trond Myklebust @ 2001-03-15 7:09 ` H . J . Lu 0 siblings, 0 replies; 2+ messages in thread From: H . J . Lu @ 2001-03-15 7:09 UTC (permalink / raw) To: Trond Myklebust; +Cc: Chris Jensen, NFS maillist, Linux Kernel On Mon, Mar 12, 2001 at 03:56:20PM +0100, Trond Myklebust wrote: > >>>>> " " == Chris Jensen <christopher.jensen@studentmail.newcastle.edu.au> writes: > > >> Details please, the minimum info required being 'which kernel > >> is your client running'? > >> > > > Oh yeah, whoops, sorry The server is a 586 and the client is > > 686. They're both using nfs-utils 0.2.1, under linux 2.4.0 > > with NFS v3 enabled, with glibc 2.2.1 The pertinent line in > > /etc/exports is / 192.168.0.1(rw,no_root_squash) > > How does the following patch work out? > I can duplicate the problem and this patch fixes it. Thanks. H.J. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-15 7:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <001a01c0aac0$80432260$0100a8c0@chris>
[not found] ` <shs8zmbksxo.fsf@charged.uio.no>
[not found] ` <001601c0ab02$df976860$0100a8c0@chris>
2001-03-12 14:56 ` [NFS] New files on read only NFS mount Trond Myklebust
2001-03-15 7:09 ` H . J . Lu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox