Mail Archives: cygwin/2011/10/18/18:59:45
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,LOCALPART_IN_SUBJECT,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,SPF_HELO_PASS,T_TO_NO_BRKTS_FREEMAIL
|
X-Spam-Check-By: | sourceware.org
|
To: | cygwin AT cygwin DOT com
|
From: | Eric Lilja <mindcooler AT gmail DOT com>
|
Subject: | Re: Remove cygwin
|
Date: | Wed, 19 Oct 2011 00:59:08 +0200
|
Lines: | 37
|
Message-ID: | <j7l0bt$pkc$1@dough.gmane.org>
|
References: | <SNT143-W3352CEA04112A0C7C720FBBAE50 AT phx DOT gbl>
|
Mime-Version: | 1.0
|
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
|
In-Reply-To: | <SNT143-W3352CEA04112A0C7C720FBBAE50@phx.gbl>
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
|
On 2011-10-18 14:11, Casual Trash wrote:
>
> I have received a computer with some software already installed and I have to clean it up.
> One of those software is cygwin, I tried to follow the instructions but without success.
>
> 1. I can't locate the cygrunsrv: there is no file with this name and there is no command in the bash shell with this name!
> I have also checked the windows services but I can't find any of the mentioned services: sshd, cron,
> cygserver, inetd, apache,
> postgresql, etc
> 2. I can't delete the cygwin folder because I receive the "Permission Denied" error, although I have marked all the files as not read only and changed the ownership to my account.
>
> Can somebody help me out?
>
>
> Thanks
>
>
I'm not sure it applies in your case, but sometimes (and this happened
to me under Windows 7), when you have folders or files, or maybe a whole
disk, that are from an older installation so to speak, it can be hard to
remove such files. I had that happen to me when I took a disk from an
another computer that wasn't formatted and had cygwin on it among other
things. I could not delete the cygwin folder even though I was running
as admin. I solved it by running two commands (and here the old cygwin
folder I wanted to delete was located on e:\cygwin):
First, take ownership of all files (recursively):
$ takeown /F E:\cygwin /R
Then, change permissions recursively:
$ icacls E:\cygwin /grant Administrators:F /t
after that I could remove those files and folders from that secondary
disk. Maybe it doesn't apply for you, I'm not sure about that, and use
with care, but I hope it helps.
- EL
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -