[dovecot-cvs] dovecot/src/master master-settings.c,1.97,1.98
cras at dovecot.org
cras at dovecot.org
Thu Jan 12 01:50:48 EET 2006
- Previous message: [dovecot-cvs]
dovecot/src/dict dict-server.c, 1.5, 1.6 dict-server.h,
1.1, 1.2 main.c, 1.3, 1.4
- Next message: [dovecot-cvs] dovecot/src/master dict-process.c, NONE,
1.1 dict-process.h, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv24409
Modified Files:
master-settings.c
Log Message:
/var/run/dovecot can be world-readable. Default to it, and don't try to
force any modes to it. All files and directories under it are already
protected properly.
Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- master-settings.c 11 Jan 2006 19:26:07 -0000 1.97
+++ master-settings.c 11 Jan 2006 23:50:46 -0000 1.98
@@ -11,6 +11,7 @@
#include <stddef.h>
#include <unistd.h>
#include <fcntl.h>
+#include <sys/stat.h>
#include <pwd.h>
enum settings_type {
@@ -601,10 +602,7 @@
/* since they're under /var/run by default, they may have been
deleted. */
- if (safe_mkdir(set->base_dir, 0700, master_uid, getegid()) == 0) {
- i_warning("Corrected permissions for base directory %s",
- set->base_dir);
- }
+ (void)mkdir(set->base_dir, 0777);
if (!settings_have_connect_sockets(set)) {
/* we are not using external authentication, so make sure the
- Previous message: [dovecot-cvs]
dovecot/src/dict dict-server.c, 1.5, 1.6 dict-server.h,
1.1, 1.2 main.c, 1.3, 1.4
- Next message: [dovecot-cvs] dovecot/src/master dict-process.c, NONE,
1.1 dict-process.h, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list