Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Feb 18, 2016 · 3 comments
Closed

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant