Newbie: step 1 errors (add folder)
Running:
Zope Version (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.3, darwin7)
Python Version 2.1.3 (#1, Aug 25 2004, 10:07:37) [GCC 3.3 20030304 (Apple Computer, Inc. build 1640)]
System Platform darwin7
SOFTWARE_HOME /sw/lib/zope/lib/python
INSTANCE_HOME /sw/var/lib/zope
CLIENT_HOME /sw/var/lib/zope/var
Process Id 11704 (27612672)
Running For 2 days 15 min 23 sec
When I try to add a folder, I get:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: EmergencyUserCannotOwn Error Value: Objects cannot be owned by the emergency user
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.
Phil Hudson wrote:
Running:
Zope Version (Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.3, darwin7)
Python Version 2.1.3 (#1, Aug 25 2004, 10:07:37) [GCC 3.3 20030304 (Apple Computer, Inc. build 1640)]
System Platform darwin7
SOFTWARE_HOME /sw/lib/zope/lib/python
INSTANCE_HOME /sw/var/lib/zope
CLIENT_HOME /sw/var/lib/zope/var
Process Id 11704 (27612672)
Running For 2 days 15 min 23 sec
When I try to add a folder, I get:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: EmergencyUserCannotOwn Error Value: Objects cannot be owned by the emergency user
You need to create a "normal" manager user, e.g: $ /sw/var/lib/zope/bin/zopectl zopectl> stop . . . Service stopped zopectl> adduser admin yourpasswordhere zopectl> start and then log in and create your folders as that user. The user defined in your '/sw/var/lib/zope/access' file is the "emergency" user, used primarily to unfutz things like a broken user folder in the root. You could also create your "normal" manager user while logged in as the emergency user through the ZMI (user folders and users are about the only things which are creatable by the emergency user). Tres. -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com
Phil Hudson wrote at 2004-10-4 15:17 +0100:
...
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: EmergencyUserCannotOwn Error Value: Objects cannot be owned by the emergency user
You are logged in as the "Emergency User". It cannot create objects -- other than "user"s. Create a new user in "acl_users". Give it a "Manager" role. Login as this user -- and forget about the "Emergency User" until you screwed your Zope up in such a way, that anything you do leads to an "Unauthorized"... -- Dieter
participants (3)
-
Dieter Maurer -
Phil Hudson -
Tres Seaver