Running Zope 2.2 on Solaris 2.7
I installed Zope 2.2 for Solaris 2.6 on Solaris 2.7. After starting an accessing as superuser I wanted to add an object e.g. a folder. I couldn't add any kind of object, while getting messages like
Zope Error
Zope has encountered an error while publishing this resource. Error Type: SuperCannotOwn ???????????????? Error Value: Objects cannot be owned by the superuser ???????????????? Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 187, in publish File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 171, in publish File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addFolder) File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addFolder) File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/Folder.py, line 116, in manage_addFolder File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/ObjectManager.py, line 249, in _setObject (Object: ApplicationDefaultPermissions) File /opt2/Zope-2.2.0-solaris-2.6-sparc/lib/python/AccessControl/Owned.py, line 271, in manage_fixupOwnershipAfterAdd (Object: ElementWithAttributes) SuperCannotOwn: (see above) -- Andreas Rippel Universität Kaiserslautern Fachbereich Informatik (AG ICSY) Tel: ++49 (0)631 205 3676 Paul Ehrlich Straße (G32/348) Fax: ++49 (0)631 205 3056 D-67653 Kaiserslautern (Germany) EMail: arippel@informatik.uni-kl.de
Andreas Rippel wrote:
I couldn't add any kind of object, while getting messages like ... Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser
That's because in Zope 2.2.0, you can't create objects as the superuser. You'll have to create a user for yourself with the "Manager" role to add objects. -CJ
At 16:41 19-7-00 +0200, Andreas Rippel wrote:
I installed Zope 2.2 for Solaris 2.6 on Solaris 2.7. After starting an accessing as superuser I wanted to add an object e.g. a folder. I couldn't add any kind of object, while getting messages like
Hi, First you have to create another user and give it the manager role. Then close all instance of your browser, login again as the new user you've just created. This user can add objects. Diny DIVA Faculty of Veterinary Medicine Utrecht University The Netherlands http://www.vet.uu.nl
participants (3)
-
Andreas Rippel -
Christopher J. Kucera -
Diny van Gool