- corrected rights
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@123 a67ec6bc-e5d5-0310-a910-815c51eb3124
This commit is contained in:
parent
8a0c22bdae
commit
ff16921bcd
1 changed files with 2 additions and 2 deletions
|
@ -91,9 +91,9 @@ class Domain:
|
|||
gid = grp.getgrnam(Settings.popgroup)[2]
|
||||
homedir = Settings.pophome + popaccount
|
||||
|
||||
os.mkdir(homedir, 0660)
|
||||
os.mkdir(homedir, 0755)
|
||||
os.system("maildirmake \"%s/Maildir\"" % (homedir))
|
||||
os.system("chown %s.%s %s" % ( sysuser, Settings.popgroup, homedir ))
|
||||
os.system("chown -R %s.%s %s" % ( sysuser, Settings.popgroup, homedir ))
|
||||
|
||||
cr = self.cnx.cursor()
|
||||
cr.execute("""INSERT INTO mailpasswd (id, crypt, clear, uid, gid, home)
|
||||
|
|
Loading…
Reference in a new issue