#20195 [Com]: make install doesnt set permissions
| From: | cycloon at linux-de dot org | Date: | Thu, 31 Oct 2002 19:51:47 +0000 |
| Subject: | #20195 [Com]: make install doesnt set permissions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23833@lists.php.net to get a copy of this message | ||
ID: 20195
Comment by: cycloon@linux-de.org
Reported By: cycloon@linux-de.org
Status: Feedback
Bug Type: *General Issues
Operating System: linux
PHP Version: 4.2.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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