[PHP-DEV] [patch] safe mode gid check

2001-07-09 Thread James E. Flemer
This is a patch against php-4.0.4pl1. Description: In Safe Mode, when opening files the UID of the script owner and the UID of the destination file are compared. In some circumstances it is desired that this check be relaxed to a GID compare. The attached patch adds a php ini directive

Re: [PHP-DEV] [patch] safe mode gid check

2001-07-09 Thread Rasmus Lerdorf
Could you recreate this patch against current CVS? I think it is a good idea, but your patch doesn't work at all against the current code. Instructions about getting the code from CVS can be found here: http://php.net/anoncvs.php -Rasmus On Mon, 9 Jul 2001, James E. Flemer wrote: This is

Re: [PHP-DEV] [patch] safe mode gid check

2001-07-09 Thread James E. Flemer
Here is the patch against current CVS. Use: cd php4; patch -p0 php-safe-gid.diff -James CITS / Web Developer The University of Vermont On Mon, 9 Jul 2001, Rasmus Lerdorf wrote: Could you recreate this patch against current CVS? I think it is a good idea, but your patch doesn't work at

Re: [PHP-DEV] [patch] safe mode gid check

2001-07-09 Thread Rasmus Lerdorf
Here is the patch against current CVS. Ok, I checked through your patch, tested it and committed it. Good work on the patch. It was quite thorough. If you anticipate doing further PHP work, please let us know and we can set you up with a CVS account. -Rasmus -- PHP Development Mailing