* Setup.exe won't run from Bash on Windows 8
@ 2013-06-17 23:15 Chloe
2013-06-17 23:17 ` Dan Kegel
2013-06-17 23:17 ` Yaakov (Cygwin/X)
0 siblings, 2 replies; 4+ messages in thread
From: Chloe @ 2013-06-17 23:15 UTC (permalink / raw)
To: cygwin
But it will run if I double click it from Explorer. I have execute
permissions. What is wrong?
Chloe@xps ~
$ /setup.exe
-bash: /setup.exe: Permission denied
Chloe@xps ~
$ ls -l /setup.exe
-rwx------+ 1 Chloe None 705053 Jun 13 02:03 /setup.exe
Chloe@xps ~
$ icacls 'c:\cygwin\setup.exe'
c:\cygwin\setup.exe xps\Chloe:(RX,W)
BUILTIN\Administrators:(I)(F)
NT AUTHORITY\SYSTEM:(I)(F)
Successfully processed 1 files; Failed processing 0 files
Chloe@xps ~
$ uname -a
CYGWIN_NT-6.2-WOW64 xps 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin
Setup.exe version 2.774.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Setup.exe won't run from Bash on Windows 8
2013-06-17 23:15 Setup.exe won't run from Bash on Windows 8 Chloe
@ 2013-06-17 23:17 ` Dan Kegel
2013-06-17 23:17 ` Yaakov (Cygwin/X)
1 sibling, 0 replies; 4+ messages in thread
From: Dan Kegel @ 2013-06-17 23:17 UTC (permalink / raw)
To: cygwin
On Mon, Jun 17, 2013 at 4:13 PM, Chloe wrote:
> But it will run if I double click it from Explorer. I have execute
> permissions. What is wrong?
Does
cmd /c setup.exe
work?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Setup.exe won't run from Bash on Windows 8
2013-06-17 23:15 Setup.exe won't run from Bash on Windows 8 Chloe
2013-06-17 23:17 ` Dan Kegel
@ 2013-06-17 23:17 ` Yaakov (Cygwin/X)
1 sibling, 0 replies; 4+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-06-17 23:17 UTC (permalink / raw)
To: cygwin
On 2013-06-17 18:13, Chloe wrote:
> But it will run if I double click it from Explorer. I have execute
> permissions. What is wrong?
Due to UAC Installer Detection, setup.exe requires Admin permissions in
order to run, but bash doesn't know that. Use cygstart
/path/to/setup.exe to work around this.
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Setup.exe won't run from Bash on Windows 8
@ 2013-06-18 21:58 Buchbinder, Barry (NIH/NIAID) [E]
0 siblings, 0 replies; 4+ messages in thread
From: Buchbinder, Barry (NIH/NIAID) [E] @ 2013-06-18 21:58 UTC (permalink / raw)
To: cygwin
Yaakov (Cygwin/X) sent the following at Monday, June 17, 2013 7:17 PM
>On 2013-06-17 18:13, Chloe wrote:
>> But it will run if I double click it from Explorer. I have
>> execute permissions. What is wrong?
>
>Due to UAC Installer Detection, setup.exe requires Admin permissions
>in order to run, but bash doesn't know that. Use cygstart
>/path/to/setup.exe to work around this.
Another thing to try is to rename setup.exe.
On Windows 7, getcygwin.exe works for me.
- Barry
Disclaimer: Statements made herein are not made on behalf of NIAID.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-18 21:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-17 23:15 Setup.exe won't run from Bash on Windows 8 Chloe
2013-06-17 23:17 ` Dan Kegel
2013-06-17 23:17 ` Yaakov (Cygwin/X)
2013-06-18 21:58 Buchbinder, Barry (NIH/NIAID) [E]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).