Re: popen problems

2007-05-07 Thread Jason Tishler
On Fri, May 04, 2007 at 02:57:44PM -0600, Eric Blake wrote: > 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

Re: popen problems

2007-05-04 Thread Eric Blake
-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

Re: popen problems

2007-05-04 Thread Dan Armbrust
$ 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 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 ha

Re: popen problems

2007-05-04 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Dan Armbrust on 5/4/2007 12:02 PM: > Thats what I keep thinking - but all of my other tools are telling me > it should be executeable: > > $ ls -al /bin/sh.exe > -rwxrwxrwx+ 1 mn04swbuild-svc Users 49152 May 3 14:54 /bin/sh.exe The + on

Re: popen problems

2007-05-04 Thread Dan Armbrust
Thats what I keep thinking - but all of my other tools are telling me it should be executeable: $ ls -al /bin/sh.exe -rwxrwxrwx+ 1 mn04swbuild-svc Users 49152 May 3 14:54 /bin/sh.exe Also, when I check the windows security permissions, 'everyone' is granted full access. It's like cygwin itsel

Re: popen problems

2007-05-04 Thread Jason Tishler
Dan, On Fri, May 04, 2007 at 09:36:23AM -0500, Dan Armbrust wrote: > [snip] > >>>import os.path > >>>os.popen('ls').readline() > Traceback (most recent call last): > File "", line 1, in ? > OSError: [Errno 13] Permission denied > > What on earth happened? The above indicates that /bin/sh.exe is

Re: popen problems

2007-05-04 Thread Dan Armbrust
Does this help shed any light? I seem to have massive cygwin permissions problems $ whoami mn04swbuild-svc $ groups mn04swbuild-svc /usr/bin/groups: Permission denied. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html D

Re: popen problems

2007-05-04 Thread Dan Armbrust
Sorry, can you elaborate on how I cause use strace? Thanks, Dan On 5/4/07, Felipe Alcacibar <[EMAIL PROTECTED]> wrote: maybe you can apply an strace to see it? cheers! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

RE: popen problems

2007-05-04 Thread Dave Korn
On 04 May 2007 15:36, Dan Armbrust wrote: > python > Python 2.4.3 (#1, May 18 2006, 07:40:45) > [GCC 3.3.3 (cygwin special)] on cygwin > Type "help", "copyright", "credits" or "license" for more information. import os.path os.popen('ls').readline() > Traceback (most recent call last):

RE: popen problems

2007-05-04 Thread Jeff Hawk
> -Original Message- > From: Dan Armbrust [mailto:Daniel dot armbrust dot list at gmail dot com] > Sent: Friday, May 04, 2007 9:44 AM > To: Jeff Hawk > Subject: Re: popen problems > > python > Python 2.5 (r25:51908, Mar 13 2007, 08:13:14) > [GCC 3.4.4 (cygmi

Re: popen problems

2007-05-04 Thread Dan Armbrust
python Python 2.5 (r25:51908, Mar 13 2007, 08:13:14) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type "help", "copyright", "credits" or "license" for more information. import os.path os.popen('ls').readline() Traceback (most recent call last): File "", line 1, in OSError

Re: popen problems

2007-05-04 Thread Dan Armbrust
I've tried both - I reran the installer and went back to the other python it offered - 2.4.3 - I get the same problem with 2.5. On 5/4/07, Jeff Hawk <[EMAIL PROTECTED]> wrote: > -Original Message- > From: On Behalf > Of Dan Armbrust > Sent: Friday, May 04, 2007 9:36 AM > To: cygwin@c

RE: popen problems

2007-05-04 Thread Jeff Hawk
> -Original Message- > From: On Behalf > Of Dan Armbrust > Sent: Friday, May 04, 2007 9:36 AM > To: cygwin@cygwin.com > Subject: popen problems > > I made the mistake of upgrading a cygwin install that was working. > > Now: > > python > Python 2.4.3 (#1, May 18 2006, 07:40:45) > [GCC 3.3