Nasty permissions / pathing bug in perl on 1.7

Steven Hartland killing@multiplay.co.uk
Tue Dec 1 17:16:00 GMT 2009


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



More information about the Cygwin mailing list