[gen_conf/adherents] chmod, quand on lui donne pas de l'octal, ça fait du caca
This commit is contained in:
parent
afefdaf4e3
commit
30fbb5c109
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue