This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: New Setup for Cygwin 1.7 on cygwin.com
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: Mailing List: CygWin-Apps <cygwin-apps at cygwin dot com>
- Date: Fri, 15 Aug 2008 17:00:58 -0400
- Subject: Re: New Setup for Cygwin 1.7 on cygwin.com
- References: <20080814095418.GA10382@calimero.vinschen.de>
Corinna Vinschen wrote:
> I just uploaded a(nother) new setup-1.7.exe to install Cygwin 1.7.
>
> You can find it here: http://cygwin.com/setup-1.7.exe
>
> The version number is 2.606.
> The SHA1 checksum is 2df4b76fbff6a1279aecdac342de67d291175560
So, I used this new setup to *update* my existing side-by-side
cygwin-1.7 installation, which was originally created using an older
(setup-2.588) version of setup-1.7.
Notes:
1) warning message:
Unable to extract /etc/alternatives/.keep-alternatives -- the file is in
use. Please stop all cygwin processes and select "Retry",, or select
"Continue" to go on anyway (you will need to reboot).
Odd. I already *did* stop all cygwin processes -- and besides, what
could possibly be uses .keep-alternatives?
Anyway, I selected Continue.
No good -- now it's stuck -- on /etc/alternatives/.keep-alternatives --
using about 50% CPU, forever.
Repeats over and over:
Installing file cygfile:///etc/alternatives/.keep-alternatives
2008/08/15 16:31:32 io_stream_cygfile:
fopen(/etc/alternatives/.keep-alternatives) failed 13 Permission denied
2008/08/15 16:31:32 Failed to open
cygfile:///etc/alternatives/.keep-alternatives for writing.
2008/08/15 16:31:32 io_stream_cygfile:
fopen(/etc/alternatives/.keep-alternatives.new) failed 13 Permission denied
2008/08/15 16:31:32 Failed to open
cygfile:///etc/alternatives/.keep-alternatives.new for writing.
2008/08/15 16:31:32 Unable to install file
cygfile:///etc/alternatives/.keep-alternatives.new
Here's the wierd part: -- there is no .keep-alternatives file in
cygwin-1.7/etc/alternatives.
(I canceled, but now my 1.7 installation is completely scrogged, since
setup-1.7 DID manage to download everything it needed, uninstall the
to-be-upgraded items, and then hang while unpacking one of them.
So, no bash, no cygwin1.dll...
2) So, I re-ran setup-1.7, this time "from local directory" so I could
make sure all the stuff that got downloaded the last time actually would
get installed. No joy -- hung at the same place.
A little more investigating shows that:
1) /var, /tmp, /etc, and /home have very odd security settings
Administrators have Read&Excecute,Read,List,Write
Administrator has no access
Users have no access
SYSTEM has Read&Execute,Read,List,Write
No entry for CREATOR OWNER or CREATOR GROUP
OTOH, /etc/alternatives has similar settings, except it DOES have
entries for CREATOR OWNER and CREATOR GROUP -- which provide no access.
2) /bin, /lib, all inherit their security settings from the parent
directory C:\cygwin-1.7
I think the problem here is that I had to jump through some hoops with
regards to permissions *pre-installation* back when I originally
installed cygwin-1.7 (see http://cygwin.com/ml/cygwin/2008-04/msg00392.html)
I tried adding explicit 'Full Control' to /etc for 'Administrator' but
that didn't help either.
I think I'm fubared. This is SO messed up.
Vista + UAC + cygwin seems a bit...flaky.
--
Chuck