Re: [Zope3-Users] Zope 3.1.0 make error -- permissions

2005-12-09 Thread Alen Stanisic
On Thu, 2005-12-08 at 20:23 -0600, cmire wrote:
> I'm just not sure what to change under that directory.  I built Python 2.4.2 
> as root, so I don't understand why I'm getting a permissions error on python 
> when I try to build Zope 3.1.0 as root.  I've tried different su variations; 
> I've tried just opening a raw root console.
> 
> I'm concerned about changing everything to 777 under Python-2.4.2 from a 
> security standpoint.  I'm trying to build a website based on Zope and I don't 
> want just anybody to be able to arbitrarily execute python code.
> 
> I reran make with "-d" to give me more details, and my guess is that Zope is 
> being built using my python install, and python is trying to write the build 
> file to the Zope-3.1.0 directory and can't.  If this is the case -- how do I 
> fix it?  /usr/local/src is owned by root, as is /usr/local/src/Python-2.4.2 
> and /usr/local/src/Zope-3.1.0.  Permissions are 755 all around, at the 
> directory level and under.
> 
> Here is the tail end of the make -d output:
> 
>  No implicit rule found for `default'.
>   Considering target file `build'.
>File `build' does not exist.
>Finished prerequisites of target file `build'.
>   Must remake target `build'.
> /usr/local/src/Python-2.4.2 install.py -q build
> make: execvp: /usr/local/src/Python-2.4.2: Permission denied
> Got a SIGCHLD; 1 unreaped children.
> Putting child 0x08078210 (build) PID 6872 on the chain.
> Live child 0x08078210 (build) PID 6872
> Reaping losing child 0x08078210 PID 6872
> make: *** [build] Error 127
> Removing child 0x08078210 PID 6872 from chain.
> linux:/usr/local/src/Zope-3.1.0 #
> 
> 

Are you sure you specified a full path to python 2.4 executable rather
than a directory where python is installed. So instead of 

configure --with-python /usr/local/src/Python-2.4.2

it should be something like

configure --with-python /usr/local/src/Python-2.4.2/python2.4

Alen

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3.1.0 make error -- permissions

2005-12-08 Thread cmire
I'm just not sure what to change under that directory.  I built Python 2.4.2 
as root, so I don't understand why I'm getting a permissions error on python 
when I try to build Zope 3.1.0 as root.  I've tried different su variations; 
I've tried just opening a raw root console.

I'm concerned about changing everything to 777 under Python-2.4.2 from a 
security standpoint.  I'm trying to build a website based on Zope and I don't 
want just anybody to be able to arbitrarily execute python code.

I reran make with "-d" to give me more details, and my guess is that Zope is 
being built using my python install, and python is trying to write the build 
file to the Zope-3.1.0 directory and can't.  If this is the case -- how do I 
fix it?  /usr/local/src is owned by root, as is /usr/local/src/Python-2.4.2 
and /usr/local/src/Zope-3.1.0.  Permissions are 755 all around, at the 
directory level and under.

Here is the tail end of the make -d output:

 No implicit rule found for `default'.
  Considering target file `build'.
   File `build' does not exist.
   Finished prerequisites of target file `build'.
  Must remake target `build'.
/usr/local/src/Python-2.4.2 install.py -q build
make: execvp: /usr/local/src/Python-2.4.2: Permission denied
Got a SIGCHLD; 1 unreaped children.
Putting child 0x08078210 (build) PID 6872 on the chain.
Live child 0x08078210 (build) PID 6872
Reaping losing child 0x08078210 PID 6872
make: *** [build] Error 127
Removing child 0x08078210 PID 6872 from chain.
linux:/usr/local/src/Zope-3.1.0 #




On Thursday 08 December 2005 12:12 am, Andreas Jung wrote:
> --On 7. Dezember 2005 20:45:11 + [EMAIL PROTECTED] wrote:
> > I tried that in the zope-3.1.0 directory.  I changed everything to
> > 777 permissions.  No go.
>
> Maybe you need to read error messages carefully. There error occurs
> *HERE*: /usr/local/src/Python-2.4.2
>
> -aj
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3.1.0 make error -- permissions

2005-12-07 Thread Andreas Jung



--On 7. Dezember 2005 20:45:11 + [EMAIL PROTECTED] wrote:


I tried that in the zope-3.1.0 directory.  I changed everything to
777 permissions.  No go.




Maybe you need to read error messages carefully. There error occurs
*HERE*: /usr/local/src/Python-2.4.2

-aj

pgpkthJgQ1gK6.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3.1.0 make error -- permissions

2005-12-07 Thread Alen Stanisic
On Wed, 2005-12-07 at 20:20 +, [EMAIL PROTECTED] wrote:
> I'm getting some strange permissions error when I try to install Zope
> 3.1.0.
> 
> I installed Python 2.4.2 from source, no problems there. The README
> file for
> Zope 3.1.0 says the usual install directory for Zope is at
> /usr/local, so as
> root I copied the tar file there and unpacked it. Running ./configure
> --with-python works fine. But when I run make, I get this error (even
> as
> root!):
> 
> [EMAIL PROTECTED]:~/Zope-3.1.0> make
> /usr/local/src/Python-2.4.2 install.py -q build
> make: execvp: /usr/local/src/Python-2.4.2: Permission denied
> make: *** [build] Error 127
> 
> The above error was from a second try, as my regular user, in my home
> directory. Regardless of whether I am root installing this to
> /usr/local or
> just a regular user installing to /home/$user, I get this permissions
> error.
> 
> I searched on Google, but got no returns. Any help is appreciated.
> 
> I'm running SuSE 9.1, 32-bit, kernel 2.6.5-7.201.
> 
> 
> Thanks,
> Charles Mire
> 

Hi Charles, 

could it be exec permission missing on your Python-2.4.2

Alen

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3.1.0 make error -- permissions

2005-12-07 Thread gnuguy
I tried that in the zope-3.1.0 directory.  I changed everything to
777 permissions.  No go.

>
>
>
> Original Message 
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED], zope3-users@zope.org
>Subject: Re: [Zope3-Users] Zope 3.1.0 make error -- permissions
>Date: Wed, 07 Dec 2005 21:23:59 +0100
>
>>--On 7. Dezember 2005 20:20:36 + [EMAIL PROTECTED] wrote:
>>>
>>> [EMAIL PROTECTED]:~/Zope-3.1.0> make
>>> /usr/local/src/Python-2.4.2 install.py -q build
>>> make: execvp: /usr/local/src/Python-2.4.2: Permission denied
>>> make: *** [build] Error 127
>>>
>>> The above error was from a second try, as my regular user, in my
>home
>>> directory. Regardless of whether I am root installing this to
>>> /usr/local or
>>> just a regular user installing to /home/$user, I get this
>permissions
>>> error.
>>
>>Well, use "chmod" to fix the permissions for the directory and all
>files 
>>below.
>>
>>-aj


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3.1.0 make error -- permissions

2005-12-07 Thread Andreas Jung



--On 7. Dezember 2005 20:20:36 + [EMAIL PROTECTED] wrote:


[EMAIL PROTECTED]:~/Zope-3.1.0> make
/usr/local/src/Python-2.4.2 install.py -q build
make: execvp: /usr/local/src/Python-2.4.2: Permission denied
make: *** [build] Error 127

The above error was from a second try, as my regular user, in my home
directory. Regardless of whether I am root installing this to
/usr/local or
just a regular user installing to /home/$user, I get this permissions
error.


Well, use "chmod" to fix the permissions for the directory and all files 
below.


-aj

pgpUlu685dF8O.pgp
Description: PGP signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users