permission denied problem

View: New views
5 Messages — Rating Filter:   Alert me  

permission denied problem

by peter360 :: Rate this Message:

| View Threaded | Show Only this Message

I am running cygwin on vista.

Recently I downloaded the gnupg installer and tried to run it in cygwin bash, but got this message:
$ ./gnupg-w32cli-1.4.9.exe
bash: ./gnupg-w32cli-1.4.9.exe: Permission denied

If I run the same command the native cmd.exe window, the installer runs (after windows prompt me for administrator password) ok.

Can someone explain the difference here?  I thought I could use cygwin bash to launch native windows applications.  Thanks!

Re: permission denied problem

by Christopher Faylor-8 :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Dec 29, 2008 at 12:05:12PM -0800, peter360 wrote:
>
>I am running cygwin on vista.
>
>Recently I downloaded the gnupg installer and tried to run it in cygwin
>bash, but got this message:
>$ ./gnupg-w32cli-1.4.9.exe
>bash: ./gnupg-w32cli-1.4.9.exe: Permission denied

chmod a+x ./gnupt-w32cli-1.4.9.exe

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


Re: permission denied problem

by peter360 :: Rate this Message:

| View Threaded | Show Only this Message


Christopher Faylor-8 wrote:
chmod a+x ./gnupt-w32cli-1.4.9.exe
That was the first thing I tried but didn't help.  ls -l shows the permission as "-rxwr-xr-x+", but I am still getting the permission denied message.


Re: permission denied problem

by Andreas Eibach-2 :: Rate this Message:

| View Threaded | Show Only this Message


----- Original Message -----
From: "peter360" <peter360@...>
To: <cygwin@...>
Sent: Wednesday, December 31, 2008 9:12 AM
Subject: Re: permission denied problem

> > chmod a+x ./gnupt-w32cli-1.4.9.exe
> >
> >
>
> That was the first thing I tried but didn't help.  ls -l shows the
> permission as "-rxwr-xr-x+", but I am still getting the permission
denied
> message.

I wonder if the "+" means that the file is in currently in use?

-Andreas


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


Re: permission denied problem

by Markus Schönhaber-15 :: Rate this Message:

| View Threaded | Show Only this Message

sowiso:

>> That was the first thing I tried but didn't help.  ls -l shows the
>> permission as "-rxwr-xr-x+", but I am still getting the permission

> I wonder if the "+" means that the file is in currently in use?

No, it means that ACLs are set for the file.
man getfacl

Regards
  mks

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