ID:               20195
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         *General Issues
 Operating System: linux
 PHP Version:      4.2.3
 New Comment:

no comments anymore, sniper?


Previous Comments:
------------------------------------------------------------------------

[2002-10-31 14:23:54] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Exactly what files are installed with wrong permissions??
(and how can this affect the POSTs at all? :)


------------------------------------------------------------------------

[2002-10-31 11:30:16] [EMAIL PROTECTED]

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

Reply via email to