X-Spam-Check-By: sourceware.org Message-ID: <467F4689.BC86AF00@dessent.net> Date: Sun, 24 Jun 2007 21:37:29 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Reloaded Win XP, now need to reload cygwin - sorta References: <200706250422 DOT l5P4MHo14241 AT mrvideo DOT vidiot DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Vidiot wrote: > 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 ownership. > 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. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/