Revision: 4305 http://trac.macosforge.org/projects/calendarserver/changeset/4305 Author: sagen@apple.com Date: 2009-05-20 10:44:08 -0700 (Wed, 20 May 2009) Log Message: ----------- Set umask so db files get created with appropriate permissions Modified Paths: -------------- CalendarServer/trunk/calendarserver/tools/principals.py Modified: CalendarServer/trunk/calendarserver/tools/principals.py =================================================================== --- CalendarServer/trunk/calendarserver/tools/principals.py 2009-05-20 16:23:22 UTC (rev 4304) +++ CalendarServer/trunk/calendarserver/tools/principals.py 2009-05-20 17:44:08 UTC (rev 4305) @@ -200,6 +200,8 @@ gid = getgrnam(config.GroupName).gr_gid switchUID(uid, uid, gid) + os.umask(config.umask) + config.directory = getDirectory() autoDisableMemcached(config) except ConfigurationError, e:
participants (1)
-
source_changes@macosforge.org