Re: [Review] Route stat() family of calls via wrapper ops.
| From: | Moriyoshi Koizumi | Date: | Mon, 11 Aug 2003 17:10:11 +0000 |
| Subject: | Re: [Review] Route stat() family of calls via wrapper ops. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3858@lists.php.net to get a copy of this message | ||
<pollita@php.net> wrote:
> The ugliest part of this patch is that it requires special treatment for the
> plainfiles wrapper in order to deal with symlink stat calls. An alternative
> (and it wouldn't take much to convince me to go the other way) would be to
> add a parameter to the url_stat() method to indicate if the stat is a
> symlink_stat.
If we implement url_stat() in such way, perhaps we can live without
access_check() method. But the point is, not all wrappers can accept
*ix-like access control scheme..
Moriyoshi