Skip to contentSkip to conversation

New files on read only NFS mount

NFS Trond Myklebust 1 participant 1 message Mar 12, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 001601c0ab02$df976860$0100a8c0@chris

#1 lore raw
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Chris Jensen <[email protected]> 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

nfs/dir.c renamed from nfs/dir.c.orig +4 -0
@@ -1097,6 +1097,10 @@
 
 	if (!NFS_PROTO(inode)->access)
 		goto out;
+
+	if (error == -EROFS)
+		goto out;
+
 	/*
 	 * Trust UNIX mode bits except:
 	 *