rorysenpai / apt-cyg

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

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
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 commented 8 years ago
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 commented 8 years ago

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