This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Perl ported to Cygwin bug report (-w)


At 11:59 AM 2/17/00 , Soren Andersen wrote:
>Hello,
>
>I am using a Perl that's been ported to Cygwin, I am sure I remember that 
>the prebuilt Win32 (Cygwin) binary i installed was pointed-to from 
>Cygwin's site or an associated site list of port projects. sorry  don't have the 
>specific URL.
>
>In this Perl, the -w (writable yes|no) file test operator is broken -- it always 
>returns null on any file. [As a consequence I cannot run the important Perl 
>module CPAN.pm to extend Perl conveniently). I am running NT4 sp6.
>
>If anyone knows anything about this I'd appreciate hearing from them.
>
>      soren andersen
>



This is probably the age-old bug/issue with permissions.  You need to set 
permissions "across-the-board" (i.e. --w--w--w-) to get them to show up
as being set in the default b20.x installation.  Set "ntea" in your CYGWIN
environment variable to remedy this on NT/NTFS drives or, better yet, update
to a recent snapshot and use "ntsec".  See details about these settings and
what they do in the mail archives.  You can also find discussions of the 
default permission issues there as well (although you have to look back 
quite a bit to find them!;-))  My guess is that this is what Perl is having
trouble with as well, although I haven't tried it to see...





Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX
                                         (508) 560-1285 - cell phone


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]