Re: [Zope] product installation voodoo

2000-05-30 Thread Kevin Dangoor

- Original Message -
From: "michael angelo ruberto" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 30, 2000 4:11 PM
Subject: [Zope] product installation voodoo


 why do some products install fine on their own and others require voodoo
 incantations and sacrificial goats?

Usually, products written completely in Python can be installed just by
untarring the file. Products built through the web (ZClasses) usually comes
as a .zexp file, which is essentially the pickled objects that make up the
ZClasses, DTML Methods, etc. These need to be imported from the Products
Control Panel. Is that the voodoo you're talking about?

The difference is basically whether the product is just distributed as files
that go in your file system, or as objects that need to live somewhere in
your ZODB.

 can somebody tell me what the
 permissions for products should look like?

I'm not sure that it really matters as long as your webserver process can
read the files.

Kevin


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] product installation voodoo

2000-05-30 Thread michael angelo ruberto


From: Kevin Dangoor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 30, 2000 4:48 PM
To: michael angelo ruberto; [EMAIL PROTECTED]
Subject: Re: [Zope] product installation voodoo


- Original Message -
From: "michael angelo ruberto" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 30, 2000 4:11 PM
Subject: [Zope] product installation voodoo


 why do some products install fine on their own and others require voodoo
 incantations and sacrificial goats?

Usually, products written completely in Python can be installed just by
untarring the file. Products built through the web (ZClasses) usually comes
as a .zexp file, which is essentially the pickled objects that make up the
ZClasses, DTML Methods, etc. These need to be imported from the Products
Control Panel. Is that the voodoo you're talking about?

The difference is basically whether the product is just distributed as files
that go in your file system, or as objects that need to live somewhere in
your ZODB.

 can somebody tell me what the
 permissions for products should look like?

I'm not sure that it really matters as long as your webserver process can
read the files.

Kevin

i've had situations where trying to import a .zexp does not work until the
file's permissions are set to nobody:nobody ?


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] product installation voodoo

2000-05-30 Thread Bill Anderson

michael angelo ruberto wrote:
  can somebody tell me what the
  permissions for products should look like?

To which Kevin actually wrote: 
 I'm not sure that it really matters as long as your webserver process can
 read the files.
 
 Kevin

To which Michael responded:
 i've had situations where trying to import a .zexp does not work until the
 file's permissions are set to nobody:nobody ?

Of course. This was because your zope, running as nobody.nody, could not
read the .zexp file, as read was apparently not enabled for everybody.
Chowning it to nobody.nobody allowed the zope process to read it.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )