From 30fbb5c109c59fee99c82391cb8c921409aa5222 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 2 Oct 2013 20:00:02 +0200 Subject: [PATCH] =?UTF-8?q?[gen=5Fconf/adherents]=20chmod,=20quand=20on=20?= =?UTF-8?q?lui=20donne=20pas=20de=20l'octal,=20=C3=A7a=20fait=20du=20caca?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 323cdbde..9272e52e 100644 --- a/gestion/gen_confs/adherents.py +++ b/gestion/gen_confs/adherents.py @@ -145,7 +145,7 @@ class home: if mail_redirect: file(home + '/.forward', 'w').write(mail_redirect + '\n') os.chown(home + '/.forward', int(uid), config.gid) - os.chmod(home + '/.forward', 705) + os.chmod(home + '/.forward', 0604) except: print ERREUR