summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-02 03:42:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:39:46 -0500
commit1bd715d9155428afee678fd202483e519820c6df (patch)
tree10211ef9ac5e6a67bb28f696501a8891f0a667f4 /source3
parentd62c3cff518ffd701b967bb12b487f097b550c38 (diff)
downloadsamba-1bd715d9155428afee678fd202483e519820c6df.tar.gz
samba-1bd715d9155428afee678fd202483e519820c6df.tar.bz2
samba-1bd715d9155428afee678fd202483e519820c6df.zip
r17999: No need to prevent others from reading. Use 755 instead
of 700, and 644 instead of 600. Reading might help debugging. Jeremy. (This used to be commit 99f100cfecb53e00d17f7426251a3d4022db791a)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/kerberos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index a077ce1fce..79196f87a7 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -484,7 +484,7 @@ BOOL create_local_private_krb5_conf_for_domain(const char *realm, const char *do
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 @@ BOOL create_local_private_krb5_conf_for_domain(const char *realm, const char *do
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;