AdrianDroid / apt-cyg

Automatically exported from code.google.com/p/apt-cyg
MIT License
0 stars 0 forks source link

why always get permission denied on metasploit's cygwin? #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
- when try to running the binary from /bin/apt-cyg

What is the expected output? What do you see instead?

XXX@YYYY-PC /msf3
$ svn --force export http://apt-cyg.googlecode.com/svn/trunk /bin/
A    /bin
A    /bin/apt-cyg
Exported revision 18.

XXX@YYYY-PC /msf3
$ chmod +x /bin/apt-cyg 

XXX@YYYY-PC /msf3
$ apt-cyg 
bash: /usr/bin/apt-cyg: Permission denied

What version of the product are you using? On what operating system?
revision 18, on CYGWIN which used for Metasploit 3.4.x

Please provide any additional information below.

Original issue reported on code.google.com by taijeni...@gmail.com on 25 Jun 2010 at 11:47

GoogleCodeExporter commented 8 years ago
Here's a sample of my error output:

Running postinstall scripts
/usr/bin/apt-cyg: line 402: /etc/postinstall/gcc-g++.sh: Permission denied
Package gcc installed

Original comment by lucasran...@gmail.com on 27 Sep 2012 at 5:01

GoogleCodeExporter commented 8 years ago
Make sure you run apt-cyg from the drive that Cygwin is installed on. I got 
errors when I tried to run it after I cd'd to another drive.

Original comment by lucasran...@gmail.com on 27 Sep 2012 at 5:02

GoogleCodeExporter commented 8 years ago
It seems you have another apt-get installed already in another directory 
(/usr/bin) which does not have the executable bit set. Try to run /bin/apt-cyg 
directly or remove the other apt-cyg.

Original comment by sti...@gmail.com on 24 Dec 2013 at 12:57