VirtualMailManager/Handler.py
branchv0.6.x
changeset 270 d3389645a91d
parent 266 e14c345b44a1
child 272 446483386914
--- a/VirtualMailManager/Handler.py	Wed Apr 28 04:12:29 2010 +0000
+++ b/VirtualMailManager/Handler.py	Wed Apr 28 05:28:36 2010 +0000
@@ -110,7 +110,7 @@
         if not os.path.exists(basedir):
             old_umask = os.umask(0006)
             os.makedirs(basedir, 0771)
-            os.chown(basedir, 0, self._Cfg.dget('misc.gid_mail'))
+            os.chown(basedir, 0, 0)
             os.umask(old_umask)
         elif not os.path.isdir(basedir):
             raise VMMError(_(u'ā€œ%sā€ is not a directory.\n\
@@ -230,8 +230,7 @@
 
         os.chdir(basedir)
         if not os.path.isdir(domdirdirs[0]):
-            self.__makedir(domdirdirs[0], 489, 0,
-                           self._Cfg.dget('misc.gid_mail'))
+            self.__makedir(domdirdirs[0], 489, 0, 0)
         os.chdir(domdirdirs[0])
         os.umask(0007)
         self.__makedir(domdirdirs[1], self._Cfg.dget('domain.directory_mode'),