[gen_conf/adherents] chmod, quand on lui donne pas de l'octal, ça fait du caca

This commit is contained in:
Valentin Samir 2013-10-02 20:00:02 +02:00
parent afefdaf4e3
commit 30fbb5c109

View file

@ -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