This is the mail archive of the
mailing list for the Cygwin project.
Re: Reloaded Win XP, now need to reload cygwin - sorta
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 24 Jun 2007 21:37:29 -0700
- Subject: Re: Reloaded Win XP, now need to reload cygwin - sorta
- References: <200706250422.l5P4MHo14241@mrvideo.vidiot.com>
- Reply-to: cygwin at cygwin dot com
> After bringing up the system, I tried running the cygwin batch file and it
> complained about not being able to find the zsh program (I run Z-shell).
Probably because you had no mount table.
> So, I figured that I needed to reinstall cygwin. Hence the question I
> previously posted.
> Well, I ran the installer and it said that there was nothing to install,
> though it did place the shortcut on the desktop.
Setup read the file that stores the choices of what packages you've
selected (from the file /etc/setup/installed.db) and saw that this list
corresponds to the most up-to-date versions of those packages available,
so there was nothing for it to install. But since there was no mount
table, it did recreate that.
> But, there the good news ends. While attempting to modify the crontab
> file, it had a permission denied when trying to write my tabs/Vidiot file,
> just as it was expected. As previously posted, I have no idea how to
> change the permission of said files.
Just chown the file, "chown username filename". In order for this to
work though you might need to recreate your /etc/passwd and /etc/group
files, as that is where Cygwin gets the username <-> SID mapping. Or
you could just do it in explorer, right click, properties, take
> I also just looked at all of the running processes and I don't see anything
> with cron in the process name. I can see zsh.exe, which I should :-)
> But I don't see cron. I don't remember how that is implemented under XP.
You'll have to reinstall any services that you had installed before.
Essentially, to sum up your question: Things that are stored as regular
files survived the reinstall, things that are stored in the registry did
not. And additionally, Windows considers your new account different
from the previous one, though it may have the same name.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html