patch-2.2.0-pre8 linux/net/socket.c
Next file: linux/net/sunrpc/sched.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Jan 17 10:00:00 1999
-  Orig file: 
v2.2.0-pre7/linux/net/socket.c
-  Orig date: 
Thu Jan  7 15:11:42 1999
diff -u --recursive --new-file v2.2.0-pre7/linux/net/socket.c linux/net/socket.c
@@ -276,7 +276,7 @@
 
 	sock = socki_lookup(inode);
 
-	inode->i_mode = S_IFSOCK;
+	inode->i_mode = S_IFSOCK|S_IRWXUGO;
 	inode->i_sock = 1;
 	inode->i_uid = current->uid;
 	inode->i_gid = current->gid;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov