Setting permissions on File-Objects
Hello. I am currently using Zope with the following configuration: Zope Version 2.1.0 (latest www.zope.org tarball) Linux 2.1.10 ZServer I have created some folders and uploaded some files to this one. After that I clicked on the file icon and after that I tried to change security parameters for that file. After submitting ANY change I get the following: Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: tag [snip] Traceback (innermost last): File /opt/Zope-2.1.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /opt/Zope-2.1.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 179, in publish File /opt/Zope-2.1.0-linux2-x86/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: test_file) File /opt/Zope-2.1.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 165, in publish File /opt/Zope-2.1.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_changePermissions) File /opt/Zope-2.1.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: manage_changePermissions) File /opt/Zope-2.1.0-linux2-x86/lib/python/AccessControl/Role.py, line 247, in manage_changePermissions (Object: test_file) File /opt/Zope-2.1.0-linux2-x86/lib/python/AccessControl/Permission.py, line 171, in setRoles AttributeError: (see above) [snip] a) What does that mean? b) Have I done something wrong? I would like to point out that this error does even occur when I just push the "change" button without changing anything! Thanks for your help, regards, Ingo. ------------------------------------------
participants (1)
-
Ingo Assenmacher