[Zope] SOLVED Local FS files "not found"

baiewola@netscape.net baiewola@netscape.net
Tue, 18 Feb 2003 15:17:56 -0500


All other products seem to run okay owned as root:admin, but the LocalFS folder (in lib/python/products) must be accessible to "nobody" which is the user Zope is running under.

Thanks for all suggestions.

Original problem:
Zope appeared to be ignoring the basepath property of my LocalFS

Original e-mail:
>On Monday, February 17, 2003, at 11:19  AM, baiewola@netscape.net wrote:
>
>> I've had Local FS installed for a year now and finally when someone 
>> tried to use it, it stopped working!
>>
>> The hard drive location of the LocalFS is
>> /Library/WebServer/Documents/SomeFolder
>> I've given ug+rwx permissions to SomeFolder.
>>
>> In Zope, the basepath for the LocalFS is defined as
>> /Library/WebServer/Documents/SomeFolder
>>
>> When the user goes to the URL of this LocalFS, she sees a list of PDF 
>> files in the file system, but when she clicks on one (or 
>> control-clicks to download) she gets a "not found" error:
>>
>> <!--
>> Traceback (innermost last):
>>   File /Applications/Zope2/lib/python/ZPublisher/Publish.py, line 150, 
>> in publish_module
>>   File /Applications/Zope2/lib/python/ZPublisher/Publish.py, line 114, 
>> in publish
>>   File /Applications/Zope2/lib/python/Zope/__init__.py, line 159, in 
>> zpublisher_exception_hook
>>     (Object: 169546)
>>   File /Applications/Zope2/lib/python/ZPublisher/Publish.py, line 89, 
>> in publish
>>   File /Applications/Zope2/lib/python/ZPublisher/BaseRequest.py, line 
>> 278, in traverse
>>   File /Applications/Zope2/lib/python/Products/LocalFS/LocalFS.py, 
>> line 462, in __bobo_traverse__
>>     (Object: 169546)
>>   File /Applications/Zope2/lib/python/ZPublisher/HTTPResponse.py, line 
>> 492, in notFoundError
>> NotFound: (see above)
>>
>> -->
>>
>> However, the documents she is looking for DO exist in the correct 
>> location on the hard drive. They also have ug+rwx permissions, and she 
>> is a member of the appropriate group.
>>
>> I've tried my programmer's suggestion of adding a / after SomeFolder 
>> in the basepath property, but that did not work.
>>
>> Any tips how to start sorting this out? I'm using Zope 2.5.1 on Mac OS 
>> X 10.2.3

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/