[Zope] bug in GenericUserFolder

Pavlos Christoforou pavlos@gaaros.com
Fri, 7 Jan 2000 00:05:34 -0500 (EST)


Untarring GenericUserFolder messes up permissions. Reset the
lib/python/Products permissions to the correct settings and everythin will
be fine.

Pavlos

On Thu, 6 Jan 2000, Timothy Wilson wrote:

> Hello everyone,
> 
> I've discovered what appears to be a bug in GenericUserFolder and I'm
> wondering if someone else can verify it. (Who knows, it might just be me.)
> 
> I'm running Linux on a 2.2.x kernel with a fresh source install of Zope
> 2.1.2 (w_pcgi). No problem there. Copying my old Data.* brings up my site
> with no problem.
> 
> Immediately after that, I untarred GenericUserFolder 1.0.6, stopped the
> Zope server and restarted it to make GenericUserFolder available. My site
> became instantly unavailable with the following message:
> 
> Zope Error
> 
>           Zope has encountered an error while publishing this resource. 
> 
>           ImportError
> 
>           Sorry, a Zope error occurred.
> 
> The traceback includes:
> 
> Traceback (innermost last):
>   File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
> line 214, in publish_module
>   File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
> line 179, in publish
>   File /usr/local/src/Zope-2.1.2-src/lib/python/Zope/__init__.py, line
> 202, in zpublisher_exception_hook
>     (Object: ApplicationDefaultPermissions)
>   File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
> line 165, in publish
>   File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/mapply.py, line
> 160, in mapply
>     (Object: index_html)
>   File /usr/local/src/Zope-2.1.2-src/lib/python/ZPublisher/Publish.py,
> line 102, in call_object
>     (Object: index_html)
>   File /usr/local/src/Zope-2.1.2-src/lib/python/OFS/DTMLMethod.py, line
> 145, in __call__
>     (Object: index_html)
>   File
> /usr/local/src/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
> line 443, in __call__
>     (Object: index_html)
>   File
> /usr/local/src/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
> line 381, in cook
>     (Object: index_html)
>   File
> /usr/local/src/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
> line 219, in parse
>     (Object: index_html)
>   File
> /usr/local/src/Zope-2.1.2-src/lib/python/DocumentTemplate/DT_String.py,
> line 166, in _parseTag
>     (Object: index_html)
>   File <string>, line 1, in ?
> ImportError: No module named DT_With
> 
> It seems like the install of GenericUserFolder is nuking parts of the
> DocumentTemplate directory.
> 
> -Tim
> 
> --
> Timothy Wilson       | "The faster you  |  Check out:
> Henry Sibley H.S.    |  go, the shorter | http://slashdot.org/
> W. St. Paul, MN, USA |  you are."       | http://linux.com/
> wilson@visi.com      |       -Einstein  | http://www.mn-linux.org/
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>