From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7317 invoked by alias); 14 Jan 2016 21:18:23 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 7298 invoked by uid 89); 14 Jan 2016 21:18:20 -0000 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 Received: from vms173017pub.verizon.net (HELO vms173017pub.verizon.net) (206.46.173.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 14 Jan 2016 21:18:19 +0000 Received: from [192.168.1.220] ([108.7.54.198]) by vms173017.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O0Y00BSVOHSX941@vms173017.mailsrvcs.net> for cygwin@cygwin.com; Thu, 14 Jan 2016 15:18:01 -0600 (CST) 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@cygwin.com Reply-to: cygwin@cygwin.com From: "Larry Hall (Cygwin)" Message-id: <56981075.90404@cygwin.com> Date: Thu, 14 Jan 2016 23:34:00 -0000 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 X-SW-Source: 2016-01/txt/msg00191.txt.bz2 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