delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/04/16:56:25

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 AT byu DOT 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 DOT armbrust DOT list AT gmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: popen problems
References: <82f04dc40705040736w3fbdb9a8r6fd9b0a9a8f9ee42 AT mail DOT gmail DOT com> <20070504175428 DOT GA2556 AT tishler DOT net> <82f04dc40705041102w540ea844se14ca244c926186e AT mail DOT gmail DOT com> <463B914A DOT 203 AT byu DOT net> <82f04dc40705041349h6c50ec34r790100c5c4a78251 AT mail DOT gmail DOT com>
In-Reply-To: <82f04dc40705041349h6c50ec34r790100c5c4a78251@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

-----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 AT byu DOT 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/

- Raw text -


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