problems with nfs-server in 2.5 bk as of 030115

Trond Myklebust (trond.myklebust@fys.uio.no)
Mon, 20 Jan 2003 02:34:51 +0100


>>>>> " " == Martin Josefsson <gandalf@wlug.westbo.se> writes:

> I've mounted the rpc_pipefs filesystem and the directory
> portmap/clntcfac0540 is created. It's empty but created. It
> gets created with 500 as permissions.

Ah... Can this be the same problem as before? Try this...

Cheers,
Trond

--- linux-2.5.59-00-fix/net/sunrpc/rpc_pipe.c.orig 2003-01-14 16:29:23.000000000 +0100
+++ linux-2.5.59-00-fix/net/sunrpc/rpc_pipe.c 2003-01-20 02:30:38.000000000 +0100
@@ -549,7 +549,7 @@
{
struct inode *inode;

- inode = rpc_get_inode(dir->i_sb, S_IFDIR | S_IRUSR | S_IXUSR);
+ inode = rpc_get_inode(dir->i_sb, S_IFDIR | S_IRUGO | S_IXUGO);
if (!inode)
goto out_err;
inode->i_ino = iunique(dir->i_sb, 100);
-
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/