Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51598 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46027 invoked from network); 7 Mar 2011 10:11:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2011 10:11:07 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:56586] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/00-45950-83FA47D4 for ; Mon, 07 Mar 2011 05:11:05 -0500 Received: by bwz13 with SMTP id 13so3733422bwz.29 for ; Mon, 07 Mar 2011 02:11:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7YPrxjQvTJpvBk1HOt/2hc4KtoorLOuPA97oA8qpWq8=; b=sp4zoD5vU22/BUJ3mMf+S3zviSN2Q5G2mZ8l3EyufkXjOhszQOPaZvFf8wvUmoRgtL AG9DgGtL7PoEvFlIdatkHtj31dJ3ajE3qsUEhj3rrHui7t3woHxfwAEz8hfbRfGqVOLy 7b1C9t1XEDT10z8syfWHYTcLD2OLVASq2k4Dk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Kg858q6ocgMRkgrhCBqGkkP9fme61LRnEtHc+DVyhDg4AWfRdRn95Whc49T1NFvdOv uxqlY7OTYoV4c2MKFo65JC/B4A5ndiEIYIVa2X8N+MYKZEnBzIxbKOh4hvGEY/GM5V9l 66QNKmsSC2E14J2ScsHiQoivx52uRfrLO5cfY= MIME-Version: 1.0 Received: by 10.204.22.197 with SMTP id o5mr3266779bkb.68.1299492660918; Mon, 07 Mar 2011 02:11:00 -0800 (PST) Received: by 10.204.122.2 with HTTP; Mon, 7 Mar 2011 02:11:00 -0800 (PST) In-Reply-To: <4D74AB3C.8040702@sugarcrm.com> References: <4D7431C3.10405@sugarcrm.com> <4D74A8FD.3020102@sugarcrm.com> <4D74AB3C.8040702@sugarcrm.com> Date: Mon, 7 Mar 2011 11:11:00 +0100 Message-ID: To: Stas Malyshev Cc: Gustavo Lopes , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] file streams & metadata From: pierre.php@gmail.com (Pierre Joye) On Mon, Mar 7, 2011 at 10:54 AM, Stas Malyshev wrote: > Hi! > >> The key part of this reply was "these particular", as they are very >> platform specific and useless in a generic stream wrapper >> implementation. > > Every stream wrapper doesn't have to implement them - as it doesn't have to > implement conversion to socket, etc. But without this, it is impossible to > create a stream wrapper that implements full range of filesystem functions - > which means, wrappers are useless for dealing with filesystem. This is a big > hole in functionality, and it should be fixed. To hear that stream are useless for filesystem operation is very new to me. I have to repeat what I said earlier, these specific informations (ACL, reparse points or other OS/FS specific informations) are very hard to implement in a generic way as you are proposing. As the idea in itself is good, I have serious doubts that a useful (working and portable) solution can be implemented with what is described in your initial post (barely posix only). -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org