[CalendarServer-changes] [7309] CalendarServer/trunk/contrib/migration/calendarmigrator.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Apr 11 16:16:34 PDT 2011


Revision: 7309
          http://trac.macosforge.org/projects/calendarserver/changeset/7309
Author:   sagen at apple.com
Date:     2011-04-11 16:16:33 -0700 (Mon, 11 Apr 2011)
Log Message:
-----------
Don't chown ServerRoot (9223669)

Modified Paths:
--------------
    CalendarServer/trunk/contrib/migration/calendarmigrator.py

Modified: CalendarServer/trunk/contrib/migration/calendarmigrator.py
===================================================================
--- CalendarServer/trunk/contrib/migration/calendarmigrator.py	2011-04-11 19:19:28 UTC (rev 7308)
+++ CalendarServer/trunk/contrib/migration/calendarmigrator.py	2011-04-11 23:16:33 UTC (rev 7309)
@@ -731,10 +731,6 @@
             diskAccessor.chown(newAddressBooks, uid, gid, recursive=True)
 
 
-    # Change ownership of newServerRoot
-    if newServerRoot and diskAccessor.exists(newServerRoot):
-        diskAccessor.chown(newServerRoot, uid, gid, recursive=False)
-
     newServerRootValue, newDocumentRootValue = relativize(newServerRootValue,
         newDocumentRootValue)
     newServerRootValue, newDataRootValue = relativize(newServerRootValue,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110411/7e155463/attachment.html>


More information about the calendarserver-changes mailing list