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