Re: [PHP-DEV] Patch for bug# 41822

2007-10-05 Thread Rob Thompson
Hi Antony, Antony Dovgal wrote: > Rob, I believe you're looking into wrong place. > You should be patching virtual_file_ex() in TSRM/tsrm_virtual_cwd.c, the root > of > all evils is there as this function is used by expand_filepath() and in all > other places. Ok, originally was going to try

Re: [PHP-DEV] Patch for bug# 41822

2007-10-05 Thread Antony Dovgal
On 05.10.2007 11:09, Rob Thompson wrote: > Here is a patch for bug 41822. The expand_filepath() function will not > work in Solaris if a non-root user attempts to read a file under a > directory with only (--x) permissions. > > Currently expand_path() returns NULL and no FD is opened, although th