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: 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 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: To: cygwin AT cygwin DOT com Reply-to: cygwin AT cygwin DOT com From: "Larry Hall (Cygwin)" 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: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit 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: -- 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