Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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 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 CC: cygwin AT cygwin DOT com Subject: Re: How to delete cygwin files? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/