Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51601 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15273 invoked from network); 7 Mar 2011 18:31:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2011 18:31:30 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.133 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.133 smtp133.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.133] ([67.192.241.133:37920] helo=smtp133.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/87-06226-084257D4 for ; Mon, 07 Mar 2011 13:31:30 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp13.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 89A4E3D0240; Mon, 7 Mar 2011 13:31:25 -0500 (EST) X-Virus-Scanned: OK Received: by smtp13.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 35B553D01DB; Mon, 7 Mar 2011 13:31:25 -0500 (EST) Message-ID: <4D75247C.7070408@sugarcrm.com> Date: Mon, 07 Mar 2011 10:31:24 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.14) Gecko/20110221 Thunderbird/3.1.8 MIME-Version: 1.0 To: Gustavo Lopes CC: "internals@lists.php.net" References: <4D7431C3.10405@sugarcrm.com> <4D74A8FD.3020102@sugarcrm.com> <4D74AB3C.8040702@sugarcrm.com> <4D751AC2.3030800@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] file streams & metadata From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > There can be certainly no "working and portable" implementation of stuff > like NTFS ACLs on *nix or a useful chmod implementation on Windows and I am starting to feel you and Pierre are failing to see forest for the trees. The goal is not to implement every tiny detail of Windows FS functionality on any OS imaginable. The goal is to make common scenarios, used in myriads of existing applications, work with streams. If there's an app in PHP that does or needs NTFS ACLs, I don't address it. I address tons of other apps that just do chmod() and I want to make it work with streams the same it works without streams. I know it's not ideal and I don't want ideal - I want working. I don't want to design a perfect system that handles every imaginable case that never gets implemented because it will be bikeshedded to death on the list - I want simple and working solution that can be done by using existing functionality. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227