[CalendarServer-changes] [1363] CalendarServer/trunk/twistedcaldav/tap.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 12 18:13:54 PDT 2007


Revision: 1363
          http://trac.macosforge.org/projects/calendarserver/changeset/1363
Author:   wsanchez at apple.com
Date:     2007-03-12 18:13:54 -0700 (Mon, 12 Mar 2007)

Log Message:
-----------
Cope with _username

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/tap.py

Modified: CalendarServer/trunk/twistedcaldav/tap.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/tap.py	2007-03-13 00:23:48 UTC (rev 1362)
+++ CalendarServer/trunk/twistedcaldav/tap.py	2007-03-13 01:13:54 UTC (rev 1363)
@@ -226,7 +226,7 @@
             import pwd
             try:
                 pathuname = pwd.getpwuid(pathstat[stat.ST_UID])[0]
-                if pathuname != uname:
+                if pathuname not in (uname, "_" + uname):
                     raiseOrPrint("The owner of %s directory %s is %s and does not match the expected owner: %s"
                                  % (description, path, pathuname, uname))
             except KeyError:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070312/c383a964/attachment.html


More information about the calendarserver-changes mailing list