[CalendarServer-changes] [4752] CalendarServer/trunk/calendarserver/tap

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 16 13:27:46 PST 2009


Revision: 4752
          http://trac.macosforge.org/projects/calendarserver/changeset/4752
Author:   glyph at apple.com
Date:     2009-11-16 13:27:45 -0800 (Mon, 16 Nov 2009)
Log Message:
-----------
no need for execute bit

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tap/caldav.py
    CalendarServer/trunk/calendarserver/tap/test/test_caldav.py

Modified: CalendarServer/trunk/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/caldav.py	2009-11-16 21:25:46 UTC (rev 4751)
+++ CalendarServer/trunk/calendarserver/tap/caldav.py	2009-11-16 21:27:45 UTC (rev 4752)
@@ -898,7 +898,7 @@
             RotatingFileAccessLoggingObserver(config.AccessLogFile)
         )
         if config.ControlSocket:
-            loggingService = UNIXServer(config.ControlSocket, logger, mode=0700)
+            loggingService = UNIXServer(config.ControlSocket, logger, mode=0600)
         else:
             loggingService = ControlPortTCPServer(
                 config.ControlPort, logger, interface="127.0.0.1"
@@ -1090,7 +1090,7 @@
 
 
         stats = CalDAVStatisticsServer(logger) 
-        statsService = UNIXServer(config.GlobalStatsSocket, stats, mode=0700)
+        statsService = UNIXServer(config.GlobalStatsSocket, stats, mode=0600)
         statsService.setName("stats")
         statsService.setServiceParent(s)
 

Modified: CalendarServer/trunk/calendarserver/tap/test/test_caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/test/test_caldav.py	2009-11-16 21:25:46 UTC (rev 4751)
+++ CalendarServer/trunk/calendarserver/tap/test/test_caldav.py	2009-11-16 21:27:45 UTC (rev 4752)
@@ -269,7 +269,7 @@
             self.assertIsInstance(socketService, internet.UNIXServer)
             m = socketService.kwargs.get("mode", 0666)
             self.assertEquals(
-                m, int("700", 8),
+                m, int("600", 8),
                 "Wrong mode on %s: %s" % (serviceName, oct(m))
             )
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091116/a3428f20/attachment-0001.html>


More information about the calendarserver-changes mailing list