#20195 [Opn->Fbk]: make install doesnt set permissions
| From: | nicos@php.net | Date: | Fri, 03 Jan 2003 23:37:22 +0000 |
| Subject: | #20195 [Opn->Fbk]: make install doesnt set permissions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29026@lists.php.net to get a copy of this message | ||
ID: 20195
Updated by: nicos@php.net
Reported By: cycloon@linux-de.org
-Status: Open
+Status: Feedback
Bug Type: *General Issues
Operating System: linux
PHP Version: 4.2.3
New Comment:
Do you still experiment the problem with PHP 4.3.0 ?
(can you verify the permission of pear in /usr/local/bin/pear by
default too? )
Thank you for your report.
Previous Comments:
------------------------------------------------------------------------
[2002-11-04 00:09:35] cycloon@linux-de.org
no comments anymore, sniper?
------------------------------------------------------------------------
[2002-10-31 14:23:54] cycloon@linux-de.org
POSTs are infected as the php binary is created correctly (gcc gives it
the right permission) but include files and other folders have wrong
permissions, so POSTs dont work.
Using the "install" programm with its arguments to set permissions,
owner and group would solve this problem.
------------------------------------------------------------------------
[2002-10-31 13:51:46] cycloon@linux-de.org
Hardly every files are installed incorrectly, even directories are not
set to 755. Normally "make install" uses "install" i think (apache does
so) and they use the options -g, -m and -o to set group, mode and owner
of the files, php does not, it just creates the files and this normaly
uses the permission a user set with 'umask' like you create a file with
touch or so.
------------------------------------------------------------------------
[2002-10-31 12:01:58] sniper@php.net
Exactly what files are installed with wrong permissions??
(and how can this affect the POSTs at all? :)
------------------------------------------------------------------------
[2002-10-31 11:30:16] cycloon@linux-de.org
make install doesnt set proper permissions to the installed files. (All
other programs do so). If you have set "umask 077" you'll get an
unusable php installation, and for example POST-data cant be submitted
in a form.
This thing caused me compiling php 20 times and loosing the whole day.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20195&edit=1