[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
This commit is contained in:
parent
a4dedbb335
commit
ae3293988f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue