[CalendarServer-changes] [13493] CalendarServer/trunk/txdav/base/datastore/subpostgres.py
source_changes at macosforge.org
source_changes at macosforge.org
Sat May 17 15:05:49 PDT 2014
Revision: 13493
http://trac.calendarserver.org//changeset/13493
Author: sagen at apple.com
Date: 2014-05-17 15:05:48 -0700 (Sat, 17 May 2014)
Log Message:
-----------
Set postgres socket directory permissions to 0770
Modified Paths:
--------------
CalendarServer/trunk/txdav/base/datastore/subpostgres.py
Modified: CalendarServer/trunk/txdav/base/datastore/subpostgres.py
===================================================================
--- CalendarServer/trunk/txdav/base/datastore/subpostgres.py 2014-05-16 19:53:32 UTC (rev 13492)
+++ CalendarServer/trunk/txdav/base/datastore/subpostgres.py 2014-05-17 22:05:48 UTC (rev 13493)
@@ -561,6 +561,8 @@
if self.uid and self.gid:
os.chown(self.socketDir.path, self.uid, self.gid)
+ os.chmod(self.socketDir.path, 0770)
+
if self.dataStoreDirectory.isdir():
self.startDatabase()
else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140517/e38cbbd5/attachment.html>
More information about the calendarserver-changes
mailing list