X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-497959.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org X-MDAV-Processed: mail1.multiplay.co.uk, Tue, 01 Dec 2009 17:16:16 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Tue, 01 Dec 2009 17:16:15 +0000 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 213.123.247.160 X-Return-Path: prvs=158624c46c=killing AT multiplay DOT co DOT uk X-Envelope-From: killing AT multiplay DOT co DOT uk X-MDaemon-Deliver-To: cygwin AT cygwin DOT com Message-ID: <5E63D05B501C4339A7D7F8909505E828@multiplay.co.uk> From: "Steven Hartland" To: "Dan Offord" , References: <4B12FB72 DOT 9090206 AT x-ray DOT at> <270B141F0B5B480C9A668369AA2C53A3 AT liv3dworkpc> Subject: Re: Nasty permissions / pathing bug in perl on 1.7 Date: Tue, 1 Dec 2009 17:16:14 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Just to be 100% clear its not the fact that the script errors, its the fact that the permissions after the initial DOS pathed chmod doesn't actually set the permissions correctly and doesn't throw any error. Regards Steve ----- Original Message ----- From: "Dan Offord" To: Sent: Tuesday, December 01, 2009 5:06 PM Subject: RE: Nasty permissions / pathing bug in perl on 1.7 > Hi, > > After testing this with a latest version of perl (5.10.1-1) / cygwin (1.7), > we still see: > > [root AT quad32]~: perl --version > > This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int > (with 12 registered patches, see perl -V for more detail) > > Copyright 1987-2009, Larry Wall > > Perl may be copied only under the terms of either the Artistic License or > the > GNU General Public License, which may be found in the Perl 5 source kit. > > Complete documentation for Perl, including FAQ lists, should be found on > this system using "man perl" or "perldoc perl". If you have access to the > Internet, point your browser at http://www.perl.org/, the Perl Home Page. > > [root AT quad32]~: ./tmp-test.pl > -rw-r--r--+ 1 root None 0 2009-12-01 17:01 /tmp/test.exe > cygwin warning: > MS-DOS style path detected: C:/cygwin/tmp/test.exe > Preferred POSIX equivalent is: /tmp/test.exe > CYGWIN environment variable option "nodosfilewarning" turns off this > warning. > Consult the user's guide for more details about POSIX paths: > http://cygwin.com/cygwin-ug-net/using.html#using-pathnames > -rw-r--r--+ 1 root None 0 2009-12-01 17:01 /tmp/test.exe > -rwxrwxrwx+ 1 root None 0 2009-12-01 17:01 /tmp/test.exe > [root AT quad32]~: uname -a > CYGWIN_NT-6.1-WOW64 quad32 1.7.0(0.218/5/3) 2009-11-27 15:38 i686 Cygwin > [root AT quad32]~: > > > The tmp-test.pl is the same as the one in Steve's email. -- 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