diff options
Diffstat (limited to 'source3/passdb/smbpass.c')
-rw-r--r-- | source3/passdb/smbpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index cd4a7ccf66..275ad5e353 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -60,7 +60,7 @@ do_pw_lock(int fd, int waitsecs, int type) int pw_file_lock(char *name, int type, int secs) { - int fd = open(name, O_RDWR | O_CREAT, 0666); + int fd = open(name, O_RDWR | O_CREAT, 0600); if (fd < 0) return (-1); if (do_pw_lock(fd, secs, type)) { |