[Zope] Importing A Plone Instance
robert
robert at redcor.ch
Mon Jan 5 23:53:32 EST 2004
When Zope is started as root it will be run as an other user (nobody i
believe). Therefore this user has to have the tigth to read your *.zexp.
This is explained in the various files you find in the doc directory of your
Zope.
You can tell Zope as what user it should run with the -u parameter.
Something like python z2.py -u zope would therefore make Zope to run as user
Zope.
Robert
On Tuesday 06 January 2004 03:09, Tom Purl wrote:
> I was developing a Plone site this afternoon and exported it to a file,
> Plone.zexp. I then moved that file to the following directory on my
> Debian Linux box:
>
> /var/lib/zope/import
>
> I then go to import the Plone instance by entering Plone.zexp in the
> "Import file name" textbox and click on the "Import" button. However,
> when I do, I get the following error:
>
> Error Type: IOError
> Error Value: [Errno 13] Permission denied:
> '/var/lib/zope/instance/default/import/Plone.zexp'
>
> I thought that there might be a problem with permissions because the
> import folder's owner is root and its group is root. However, *every*
> file in directory associated with Zope shares this trait, and I haven't
> seen any other problems elsewhere. Also, I'm logged in as a user that
> has Manager and Owner rights over the root folder of my Zope instance.
>
> I googled for some help but couldn't find anything. Has anyone else
> seen a problem like this?
>
> Thanks in advance for any help!
>
> Tom Purl
>
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list