delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/27/08:43:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 27 Aug 2003 08:42:40 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Rob Clack <rnc AT sanger DOT ac DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: perl test fails
In-Reply-To: <3F4C639E.6040704@sanger.ac.uk>
Message-ID: <Pine.GSO.4.56.0308270835540.601@slinky.cs.nyu.edu>
References: <22-1834747748 DOT 20030816001704 AT familiehaase DOT de> <3F3CAEFF DOT 6080604 AT sanger DOT ac DOT uk>
<22-1834747748 DOT 20030816001704 AT familiehaase DOT de> <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20030826235558 DOT 00aea5f0 AT 127 DOT 0 DOT 0 DOT 1>
<3F4C639E DOT 6040704 AT sanger DOT ac DOT uk>
Importance: Normal
MIME-Version: 1.0

On Wed, 27 Aug 2003, Rob Clack wrote:

> Hmmm, don't see how it can have anything to do with the mapping of a
> networked drive, since the problem started on the NT4 box, at which time
> the scriptlet was located in /cygdrive/e/cygwin/rnc/try.
>
> Since I wanted to demonstrate that it worked on the Linux box (having
> tripped over that one originally!)  each time I hacked one copy of the
> script I then had to move to the other machine and duplicate the changes
> I'd just made.  Clearly this was error-prone, so it made sense to just
> use the copy on the Linux box.  On the NT4 it's accessible as
> /cygdrive/i/rnc/try.

Rob,

Well, it's usually a good idea to keep as many variables fixed as
possible.  By sharing the script, you've unknowingly introduced another
variable (that of SMB shares).  I'd suggest moving the script back to a
local directory, and simply copying it to the shared drive when you want
to try it on Linux.  That way you can reliably reproduce the problem on
the local drive.

> And no, I've never heard of smbntsec.  What's it mean/do?

See <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>.  It's on by
default.  FYI, it may require very careful hand-maintenance of /etc/passwd
and /etc/group (in fact, I've ended up turning it off because the
maintenance effort wasn't worth it for me).  You might wish to add
"nosmbntsec" to your CYGWIN variable.
	Igor

> Regards
> Rob
>
> Larry Hall wrote:
> > At 09:36 AM 8/26/2003, Rob Clack you wrote:
> >
> >>Gerrit
> >>
> >>I've been away for a week, hence the delayed response.
> >>
> >>Thanks for this and clearly my scriptlet was broken.  I've now tried both alternatives as suggested below.  Both work perfectly under Linux.  Neither works under NT4.
> >>
> >>Linux output:
> >>
> >>script is executable
> >>
> >>NT4 output:
> >>
> >>I damn well am!
> >>
> >>To eliminate error further, I'm now running just one copy of the script, since the disk I use on my Linux box is mapped to the i: drive on the NT4 box.
> >
> >
> >
> > Are you suggesting that you're using a mapped drive from your Linux box?
> > That may be the problem.  Do you have 'smbntsec' set in your CYGWIN
> > environment variable?
> >
> >
> >
> > Larry Hall                              http://www.rfk.com
> > RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> > 838 Washington Street                   (508) 893-9889 - FAX
> > Holliston, MA 01746

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019