[Zope-CMF] Cant upload file from within plone site

Juergen R. Plasser / Hexagon plasser@hexagon.at
Mon, 22 Jul 2002 12:04:44 +0200


Hi,

I dont know whats wrong with my setup here. I have installed plone099 (not 
from the CVS), Zope 251 (Linux, binary rel.) and CFM13b1.

I can add all available items in a folder in a plone site except files. An 
attempt to upload a file just raises the following error. Can anybody help? 
I have set all available rights just to test if its located there but with 
no success. Looking at the traceback it must be a right problem?! Where can 
I set the rights correctly?

Regards,
Juergen

Site error
This site encountered an error trying to fulfill your request. The errors 
were:

Error Details
Error Type Unauthorized
Error Message Error Value You are not allowed to access CMFPlone in this 
context

Traceback (innermost last):
  File /usr/local/zope/2-5-0/lib/python/ZPublisher/Publish.py, line 150, in 
publish_module
  File /usr/local/zope/2-5-0/lib/python/ZPublisher/Publish.py, line 114, in 
publish
  File /usr/local/zope/2-5-0/lib/python/Zope/__init__.py, line 159, in 
zpublisher_exception_hook
    (Object: File.2002-07-22.5942)
  File /usr/local/zope/2-5-0/lib/python/ZPublisher/Publish.py, line 98, in 
publish
  File /usr/local/zope/2-5-0/lib/python/ZPublisher/mapply.py, line 88, in 
mapply
    (Object: file_edit)
  File /usr/local/zope/2-5-0/lib/python/ZPublisher/Publish.py, line 39, in 
call_object
    (Object: file_edit)
  File /usr/local/zope/2-5-0/lib/python/Products/CMFCore/FSPythonScript.py, 
line 88, in __call__
    (Object: file_edit)
  File /usr/local/zope/2-5-0/lib/python/Shared/DC/Scripts/Bindings.py, line 
252, in __call__
    (Object: file_edit)
  File /usr/local/zope/2-5-0/lib/python/Shared/DC/Scripts/Bindings.py, line 
283, in _bindAndExec
    (Object: file_edit)
  File /usr/local/zope/2-5-0/lib/python/Products/CMFCore/FSPythonScript.py, 
line 122, in _exec
    (Object: file_edit)
    (Info: ({'script': <FSPythonScript instance at 962fbd8>, 'context': 
<File instance at 973f960>, 'container': <CMFSite instance at 9543938>, 
'traverse_subpath': []}, ('', <ZPublisher.HTTPRequest.FileUpload instance 
at 0x9769854>, '', None, None, ''), {}, ('', '', '', None, None, '')))
  File Script (Python), line 1, in file_edit
  File /usr/local/zope/2-5-0/lib/python/AccessControl/ZopeGuards.py, line 
131, in guarded_import
  File /usr/local/zope/2-5-0/lib/python/AccessControl/ZopeGuards.py, line 
169, in load_module
    (Object: Products)
  File /usr/local/zope/2-5-0/lib/python/AccessControl/SecurityManager.py, 
line 83, in validate
  File 
/usr/local/zope/2-5-0/lib/python/AccessControl/ZopeSecurityPolicy.py, line 
145, in validate
Unauthorized: (see above)