dovecot-1.3: deliver: umask setting has been removed, don't try ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Apr 7 00:02:55 EEST 2009
details: http://hg.dovecot.org/dovecot-1.3/rev/3195c1b157c9
changeset: 9029:3195c1b157c9
user: Timo Sirainen <tss at iki.fi>
date: Mon Apr 06 17:02:49 2009 -0400
description:
deliver: umask setting has been removed, don't try to use it.
diffstat:
3 files changed, 1 insertion(+), 4 deletions(-)
src/deliver/deliver-settings.c | 2 --
src/deliver/deliver-settings.h | 1 -
src/deliver/deliver.c | 2 +-
diffs (42 lines):
diff -r bcca9c0385b7 -r 3195c1b157c9 src/deliver/deliver-settings.c
--- a/src/deliver/deliver-settings.c Mon Apr 06 16:18:14 2009 -0400
+++ b/src/deliver/deliver-settings.c Mon Apr 06 17:02:49 2009 -0400
@@ -25,7 +25,6 @@ static struct setting_define deliver_set
DEF(SET_STR, log_timestamp),
DEF(SET_STR, syslog_facility),
DEF(SET_BOOL, version_ignore),
- DEF(SET_UINT, umask),
DEF(SET_STR, mail_plugins),
DEF(SET_STR, mail_plugin_dir),
@@ -56,7 +55,6 @@ static struct deliver_settings deliver_d
MEMBER(log_timestamp) DEFAULT_FAILURE_STAMP_FORMAT,
MEMBER(syslog_facility) "mail",
MEMBER(version_ignore) FALSE,
- MEMBER(umask) 0077,
MEMBER(mail_plugins) "",
MEMBER(mail_plugin_dir) MODULEDIR"/lda",
diff -r bcca9c0385b7 -r 3195c1b157c9 src/deliver/deliver-settings.h
--- a/src/deliver/deliver-settings.h Mon Apr 06 16:18:14 2009 -0400
+++ b/src/deliver/deliver-settings.h Mon Apr 06 17:02:49 2009 -0400
@@ -10,7 +10,6 @@ struct deliver_settings {
const char *log_timestamp;
const char *syslog_facility;
bool version_ignore;
- unsigned int umask;
const char *mail_plugins;
const char *mail_plugin_dir;
diff -r bcca9c0385b7 -r 3195c1b157c9 src/deliver/deliver.c
--- a/src/deliver/deliver.c Mon Apr 06 16:18:14 2009 -0400
+++ b/src/deliver/deliver.c Mon Apr 06 17:02:49 2009 -0400
@@ -725,7 +725,7 @@ int main(int argc, char *argv[])
}
env_put(t_strconcat("USER=", user, NULL));
- (void)umask(deliver_set->umask);
+ (void)umask(0077);
dict_drivers_register_builtin();
duplicate_init(mail_set);
More information about the dovecot-cvs
mailing list