From ae3293988f51d28dfe624593725fdd5c2f6e632d Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Tue, 22 Oct 2013 12:37:24 +0200 Subject: [PATCH] [generate/adherent] creation de /home/mail/login avec les droits 700 c'est necessaire pour pouvoir ceer dans sous dossier dans son inbox avec dovecot --- gestion/gen_confs/adherents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gen_confs/adherents.py b/gestion/gen_confs/adherents.py index 9272e52e..b5f94a86 100644 --- a/gestion/gen_confs/adherents.py +++ b/gestion/gen_confs/adherents.py @@ -138,7 +138,7 @@ class home: os.mkdir(home + '/Mail', 0700) os.chown(home + '/Mail', int(uid), config.gid) if not os.path.exists('/home-adh/mail/' + login): - os.mkdir('/home-adh/mail/' + login, 0770) + os.mkdir('/home-adh/mail/' + login, 0700) os.chown('/home-adh/mail/' + login, int(uid), 8) ### Redirection