X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=pHEBJff983GUfRVK9be0Q3bcxL3hE10iPQLGHFTRQo1 fdLEh3QALRbd/FDfQRdhRGSVQ3PvCOm1dCdkal8fEGzG+GiWxEfYlFZIZelJbeTt gk8mczD9QDYyPm253FRzxHkhjJm0/ib4mM43CyYobOKoGjLpwHtgQniSKUQdMDRs = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=RXGAxtGNcbehAoJ6LCx9vLH732U=; b=PO4QmDvmWp1Jg5kKo 59oSGwEEwYNXI1QT0t4AHbORXIE1vGFQ3dADJ5cNl6+N8yg/d2UDCemvFgW6RCe7 UiY5jMEPTs7ZHDPuB260uBxkjGbH9HSSte/L1VRBdL1oa8Bf3FBWdSn47jzanM6g Ec4Q06wlrcp8uuCngxSiOD0tL8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.2 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-04.arcor-online.net X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-04.arcor-online.net 4C65FA9D97 From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: LDAP integration / ACL in Perl revisited References: <20140624171306 DOT GK1803 AT calimero DOT vinschen DOT de> Date: Tue, 24 Jun 2014 19:44:59 +0200 In-Reply-To: <20140624171306.GK1803@calimero.vinschen.de> (Corinna Vinschen's message of "Tue, 24 Jun 2014 19:13:06 +0200") Message-ID: <87ha3ap5gk.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s5OHjNpU006323 Corinna Vinschen writes: > Without pulling strace into the picture, I get different results for -O > depending on whether running this on the command line as above, or if I > run this via a perl script. I don't think I see this difference given the result from my script, but I'll try to dig deeper tomorrow. >> 12380 568906 [main] perl 5712 fhandler_base::fstat_helper: 0 = fstat >> (\??\UNC\share\bla, 0x600039498) st_size=228, st_mode=0x81A4, > > (*) ...does not match that .........................^^^^^^^^^^^^^^ Could this be a result of running strace? The previous "solution" to this problem was to run the script with administrator rights (even though that shouldn't change anything based on th ACL). Could this end up in a branch where the mode would be faked, like when mounting with noacl (that would certainly result in a 644 mode)? > Since test(1) is doing the right thing and returning the right results, > I'm blaming perl for now. Oh sure, there's something fishy going on with file tests in Perl. I just have no idea what it is yet… Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple