This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Python 2.6.5-1: python2.6.exe permission denied


Jason Tishler <jason-/+CHcdCtaLzR7s880joybQ@public.gmane.org> writes:

> Jari,
>
> On Thu, Jun 03, 2010 at 10:26:50AM +0300, Jari Aalto wrote:
>> After installing 2.6.5-1:
>>
>> $ python -V
>> sh: /usr/bin/python: Permission denied
>>
>> $ /usr/bin/python2.6.exe -V
>> sh: /usr/bin/python2.6.exe: Permission denied
>> [snip]
>
> WFM:
>
>     $ python -V
>     Python 2.6.5
>
>     $ /usr/bin/python2.6.exe -V
>     Python 2.6.5

I'm puzzled why the 2.5.5 install works and 2.6.5 doesn't. The error is
odd too, because I don't know who sends it. If I change shell the
problem continues, even under strace:

    $ /bin/ash
    $ /usr/bin/python2.6.exe -V
    ash: /usr/bin/python2.6.exe: Permission denied

    $ strace -o /tmp/py.log /usr/bin/python2.6.exe -V
    strace: error creating process C:\cygwin-1.7\root\bin\python2.6.exe, (error 5)

    $ ls -la
    ls -la /tmp/py.log
    -rwx------+ 1 jaalto users 0 Jun  4 07:58 /tmp/py.log

Jari


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]