X-Spam-Check-By: sourceware.org
Message-ID: <463B9E48.60105@byu.net>
Date: Fri, 04 May 2007 14:57:44 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: Dan Armbrust <daniel.armbrust.list@gmail.com>
CC: cygwin@cygwin.com
Subject: Re: popen problems
References: <82f04dc40705040736w3fbdb9a8r6fd9b0a9a8f9ee42@mail.gmail.com>	 <20070504175428.GA2556@tishler.net>	 <82f04dc40705041102w540ea844se14ca244c926186e@mail.gmail.com>	 <463B914A.203@byu.net> <82f04dc40705041349h6c50ec34r790100c5c4a78251@mail.gmail.com>
In-Reply-To: <82f04dc40705041349h6c50ec34r790100c5c4a78251@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Dan Armbrust on 5/4/2007 2:49 PM:
> $ getfacl /bin/sh.exe
> # file: /bin/sh.exe
> # owner: mn04swbuild-svc
> # group: Users
> user::rwx
> group::rwx
> group:SYSTEM:rwx
> group:Administrators:rwx
> mask:rwx
> other:rwx

Odd - no indication of restricted permissions for a non-owner.  Or maybe
it was just a failure of the bash postinstall script to properly update
/bin/sh.exe, perhaps because you had cygwin processes still running when
you originally ran setup.exe.

> 
> Seems ok - but I tried doing the copy as you suggested - and it worked
> from inside of bash - but now, low and behold, the problem has gone
> away!

Glad to hear it.

> 
> Thanks!  I've been fighting with this for way to long.  Do you suppose
> the sh.exe was just somehow corrupted?

I'm not sure sh.exe was corrupted, or just the permissions to access it;
but whatever it was, deleting it and starting over let correct permissions
be attached to the file.  And now that it's gone, we'll never know.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGO55I84KuGfSFAYARAlQwAKC4E+z9IafdWtd8iotgGw/uk4UGzwCgyzBs
3sKv8+1gy5du+1zAltCwvK4=
=yxsM
-----END PGP SIGNATURE-----

--
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/

