delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/27/16:30:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Info: This message was accepted for relay by
smtp02.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVZNX0Nds7ZSJmvGTB4w4cmwmCME3jcXQ69eHltuffGtzUC0m3ARhDux
Message-ID: <3F243573.5080405@cygwin.com>
Date: Sun, 27 Jul 2003 16:26:27 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Peng Yu <yupeng_ AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: How to delete cygwin files?
References: <Law15-DAV60kp2Q7Hc9000078a1 AT hotmail DOT com>
In-Reply-To: <Law15-DAV60kp2Q7Hc9000078a1@hotmail.com>

Peng Yu wrote:

> Hi,
>     I installed cygwin a few months ago(installed on XP). I reinstalled
> WindowsXP recently. But there are some files in cygwin installation
> directory can be deleted. Could somebody help me?

Presumably, you reinstalled XP but left the previously
installed Cygwin intact.  So now it's possible you have
files that were installed via Cygwin originally with a
user/uid that doesn't exist on your Windows system anymore.
A "Cygwin" way to resolve this would be to 'chown' of all
your files to a uid that exists for your new installation.
You should be able to manipulate the files as that user.
Alternatively, you could change the uid (not your SID!) of
your user in your /etc/passwd file to correspond with your
old uid.  Finally, you could take ownership of the Cygwin
tree using the Windows security property tab.  I expect
you could find other ways to solve this problem too. ;-)


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


--
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