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

apt-cyg fails gcc install due to postinstall script not having execute privileges set #14

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

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. On a Cycgwin install without gcc. Install gcc.  

What is the expected output? What do you see instead?
The postinstall script should run. However, you will get access denied error 
when apt-cyg attempts to run the postinstall script.

What version of the product are you using? On what operating system?
Most recent SVN.
Cygwin on Windows 7.

Please provide any additional information below.
This is a simple problem. Execute privileges are not set for the gcc 
postinstall script. I added a chmod line to set them for each post install 
before running it. I assumed the same problem could occur for remove scripts so 
I did it there as well. All works great now. I've attached a simple patch to 
implement this fix.

Original issue reported on code.google.com by wHac...@gmail.com on 29 Jun 2011 at 2:46

Attachments:

@GoogleCodeExporter
Copy link
Author

Also experiencing this—quite annoying given that gcc is a relatively 
important package.

Original comment by eallik on 14 Sep 2012 at 6:39

@GoogleCodeExporter
Copy link
Author

Patch works. Found this problem today and changed apt-cyg according to this 
patch.

Original comment by xuning...@gmail.com on 15 Mar 2013 at 5:31

@GoogleCodeExporter
Copy link
Author

Original comment by i...@skl.me on 23 Feb 2014 at 6:57

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