Messages in this thread Patch in this message | | | Date | Mon, 12 Mar 2001 15:56:20 +0100 (CET) | Subject | Re: [NFS] New files on read only NFS mount | From | Trond Myklebust <> |
| |
>>>>> " " == 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: *
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |