[Zope] Re: Newbie: step 1 errors (add folder)

Tres Seaver tseaver at zope.com
Mon Oct 4 12:07:43 EDT 2004


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 at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com



More information about the Zope mailing list