svn commit: samba r4458 - in branches/SAMBA_4_0/source/rpc_server: .

jelmer at samba.org jelmer at samba.org
Fri Dec 31 22:38:00 GMT 2004


Author: jelmer
Date: 2004-12-31 22:38:00 +0000 (Fri, 31 Dec 2004)
New Revision: 4458

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4458

Log:
Create ncalrpc directory with 0755 rather then 0700 so non-root users 
can use ncalrpc as well.

Modified:
   branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c	2004-12-31 22:12:44 UTC (rev 4457)
+++ branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c	2004-12-31 22:38:00 UTC (rev 4458)
@@ -201,7 +201,7 @@
 
 	/* Make sure the directory for NCALRPC exists */
 	if (!directory_exist(lp_ncalrpc_dir(), NULL)) {
-		mkdir(lp_ncalrpc_dir(), S_IWUSR | S_IRUSR | S_IXUSR);
+		mkdir(lp_ncalrpc_dir(), 0755);
 	}
 
 	for (e=dce_ctx->endpoint_list;e;e=e->next) {



More information about the samba-cvs mailing list