This is the mail archive of the
mailing list for the Cygwin project.
Re: How to delete cygwin files?
- From: Larry Hall <cygwin-lh at cygwin dot com>
- To: Peng Yu <yupeng_ at hotmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Sun, 27 Jul 2003 16:26:27 -0400
- Subject: Re: How to delete cygwin files?
- References: <Law15-DAV60kp2Q7Hc9000078a1@hotmail.com>
- Reply-to: cygwin at cygwin dot com
Peng Yu wrote:
> 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