delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/25/00:37:51

X-Spam-Check-By: sourceware.org
Message-ID: <467F4689.BC86AF00@dessent.net>
Date: Sun, 24 Jun 2007 21:37:29 -0700
From: Brian Dessent <brian AT dessent DOT net>
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>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019