svn commit: samba r17999 - in branches/SAMBA_3_0/source/libads: .

jra at samba.org jra at samba.org
Sat Sep 2 03:42:55 GMT 2006


Author: jra
Date: 2006-09-02 03:42:55 +0000 (Sat, 02 Sep 2006)
New Revision: 17999

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

Log:
No need to prevent others from reading. Use 755 instead 
of 700, and 644 instead of 600. Reading might help
debugging.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/libads/kerberos.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/kerberos.c
===================================================================
--- branches/SAMBA_3_0/source/libads/kerberos.c	2006-09-02 02:41:26 UTC (rev 17998)
+++ branches/SAMBA_3_0/source/libads/kerberos.c	2006-09-02 03:42:55 UTC (rev 17999)
@@ -484,7 +484,7 @@
 	if (!dname) {
 		return False;
 	}
-	if (mkdir(dname, 0700)==-1) {
+	if (mkdir(dname, 0755)==-1) {
 		DEBUG(0,("create_local_private_krb5_conf_for_domain: "
 			"failed to create directory %s. Error was %s\n",
 			dname, strerror(errno) ));
@@ -519,7 +519,7 @@
 	while (loopcount < 10) {
 		SMB_STRUCT_STAT st;
 
-		xfp = x_fopen(fname, O_CREAT|O_WRONLY, 0600);
+		xfp = x_fopen(fname, O_CREAT|O_WRONLY, 0644);
 		if (!xfp) {
 			TALLOC_FREE(dname);
 			return False;



More information about the samba-cvs mailing list