

Add other execute and other write permissions to __rpc_mkdir to allow
processes to create idmap files in the rpc_pipefs.


---


diff -puN net/sunrpc/rpc_pipe.c~pipe-mkdir-rw-permission net/sunrpc/rpc_pipe.c
--- linux-2.6.18-rc5/net/sunrpc/rpc_pipe.c~pipe-mkdir-rw-permission	2006-08-29 17:25:14.000000000 -0400
+++ linux-2.6.18-rc5-andros/net/sunrpc/rpc_pipe.c	2006-08-30 09:54:57.000000000 -0400
@@ -589,7 +589,7 @@ __rpc_mkdir(struct inode *dir, struct de
 {
 	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);
_
