Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>,
	<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <002f01beeb4d$7a76d590$bb05480c@hxzcw>
From: "Paul Johnston" <johnston.p@worldnet.att.net>
To: <cygwin@sourceware.cygnus.com>
Subject: newbie chmod woes -- fixed
Date: Fri, 20 Aug 1999 13:49:18 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4

I just downloaded cygwin (GNU bash, version 2.02.1(2)-release
(i586-pc-cygwin32), running on NT4sp4/NTFS) -- most things working fine, but
I couldn't seem to coerce chmod to work.

$ chmod a+x myScript returns silent, but has no apparent effect.

Searched the user guide/archives, found:

$ set CYGWIN=ntea

...as possible solution, however was not successful for me.  Although $ set
| grep CYG shows the set environment variable OK, $ env | grep CYG shows
nothing.  However:

$ export CYGWIN=ntea

now shows up in $ env, and chmod is now working.  As a cygwin / bash newbie,
I don't have a good grasp why one worked and the other didn't, but at least
it worked.  So, I thought I'd post this to the list to put it in the
archives.  A better place is a 'faq-o-matic', but I don't know of one for
this project.  Would be a good idea though.

--paul




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

