This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Installation corrupt...

The problem is related to Vista security: by default, cygwin tries to put
the home directory in c:/Users/<username>, but this is a protected directory
(analogous to the old "Documents and Settings" directory in XP). Even as
that user, you can't get to much of that data!

To get around this problem, simply define the HOME variable BEFORE you
attempt to setup cygwin, pointing it to something less restricted (such as
c:/home/<username>) and everything works just fine.



-----Original Message-----
From: Jon Seidel CMC [] 
Sent: Saturday, November 03, 2007 9:12 AM
Subject: Installation corrupt...

I just downloaded/installed the latest cygwin (1.5.24-2) using, into a Vista Home Premium system (I know - ugh!)

I added a few packages to the default (such as vim, ImageMagick), but didn't

think it was much; I removed ash..?

Anyway, the installed completed without complaints in a reasonable amount of

time (none of the delay/hang problems reported on the list).

Almost nothing works when I start the Cygwin bash shell -- help, cd, pwd for

example work, but not much else:

bash-3.2$ ls *
bash: ls: command not found

[carol@EDP19 /etc]$man -k ls
bash: man: command not found

[carol@EDP19 /etc]$cygcheck -s -v -r > cygcheck.out
bash: cygcheck: command not found
>>> So I was unable to get the cygcheck output that is requested for this 
>>> list

[carol@EDP19 /etc]$echo $PATH
Files/Common Files/Roxio Shared/DLLShared/:/cygdrive/c/Program Files/Common 
Files/Roxio Shared/DLLShared/:/cygdrive/c/Program Files/Common Files/Roxio 
Shared/9.0/DLLShared/:/cygdrive/c/Program Files/QuickTime/QTSystem/
>>>The PATH option looks very strange... no /usr entries...

Viewing the setup log shows that all the post-install tasks ended with an 
abnormal exit code:
     exit code=126 or exit code=127

My login user is an Administrator

/Users/carol isn't visible in bash, but it's there when I use cmd.exe from 

I tried running setup again, but this made no changes.... also re-ran it 
from the local directory (as suggested in one of the posts) and no change...

Any pointers? I've got cygwin up and running on two WinXP machines and it 
works just great!


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]