diff --git a/gestion/gen_confs/adherents.py b/gestion/gen_confs/adherents.py index bdb53706..0fa08c45 100644 --- a/gestion/gen_confs/adherents.py +++ b/gestion/gen_confs/adherents.py @@ -144,6 +144,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) except: print ERREUR