delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/14/16:18:36

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:references:to:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=qqCv9lRsXr9+mFys
7ikctteg52mCkN3Db6se7/t5k0e1KH8Go7FqJsngBIeL0bC0EeFs006nlcn7lAyt
cfgpOyaE8cOREBZYaCP2nTPOgsSwwN/+vAyRmUd9ONzDTA+Zhzf/5C7BJskiC75M
PVMJaoQ9q0uIi0QKJM83d4fP5j8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:references:to:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=MQunpb+NPVP3PiSoZb1lB1
u5wNo=; b=aaP2qoLFwNGpL0PowuddFdDh8aHGx6Rsn18Mr8MvZiBCoAvxFPvBF7
B9OJMkqK4X6xfRpcU0yRRwTxeGcfqCg1VmW3Nx3aEkGh+rV/BHpjLChp4qqKJUpI
3aS+3lE80W6SWPsEUP29Pc9rBRby1HHZS+OVd6uxmiNq7faCOHd/Y=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*Ad:U*reply-to-list-only-lh, Larry, partners, 508
X-HELO: vms173017pub.verizon.net
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=MtGvkDue c=1 sm=1 tr=0 a=Z9UJdt/jcW91Hd6r4aN9qw==:117 a=w_pzkKWiAAAA:8 a=oR5dmqMzAAAA:8 a=IkcTkHD0fZMA:10 a=7aQ_Q-yQQ-AA:10 a=yMhMjlubAAAA:8 a=74zvnWgDAAAA:8 a=5iupUrqBS-4M1X_GJqQA:9 a=QEXdDO2ut3YA:10 a=rLtpFUfr5jMA:10 a=uQUDH0dggCoA:10 a=_s4IVwLayhIA:10 a=oLPJ9B0qMaQA:10 a=ymxp65tEwCsA:10
Subject: Re: Cygwin.ico & Cygwin-Terminal.ico cannot be deleted
References: <loom DOT 20160114T084830-91 AT post DOT gmane DOT org>
To: cygwin AT cygwin DOT com
Reply-to: cygwin AT cygwin DOT com
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Message-id: <56981075.90404@cygwin.com>
Date: Thu, 14 Jan 2016 16:17:41 -0500
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
In-reply-to: <loom.20160114T084830-91@post.gmane.org>

On 1/14/2016 3:24 AM, Ming wrote:
> Hi all,
>
> After installed cygwin, I tried to delete the whole directory "cygwin",
> everything can be deleted, however Cygwin.ico & Cygwin-Terminal.ico will be
> re-created automatically.
>
> After reboot the server, I can delete the directory without problem.
> However, anyone know why? And how to delete the directory without reboot?

Windows won't allow you to delete files that are opened without appropriate 
sharing flags.  Many apps don't set those flags appropriately.  There are
tools to help you find the apps that have handles open to files you cannot
delete.  Two I know of are:

<https://technet.microsoft.com/en-us/sysinternals/bb896655.aspx>
<https://technet.microsoft.com/en-us/sysinternals/processexplorer>

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

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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


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