X-Recipient: archive-cygwin@delorie.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@multiplay.co.uk
X-Envelope-From: killing@multiplay.co.uk
X-MDaemon-Deliver-To: cygwin@cygwin.com
Message-ID: <5E63D05B501C4339A7D7F8909505E828@multiplay.co.uk>
From: "Steven Hartland" <killing@multiplay.co.uk>
To: "Dan Offord" <liv3d@multiplay.co.uk>, <cygwin@cygwin.com>
References: <BE3716D1FE6B45B6A50DEB1B448E71ED@multiplay.co.uk> <4B12FB72.9090206@x-ray.at> <270B141F0B5B480C9A668369AA2C53A3@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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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" <liv3d@multiplay.co.uk>
To: <cygwin@cygwin.com>
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@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@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@quad32]~: uname -a
> CYGWIN_NT-6.1-WOW64 quad32 1.7.0(0.218/5/3) 2009-11-27 15:38 i686 Cygwin
> [root@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

