Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <016d01c21def$e59917c0$42a18c09@wdg.uk.ibm.com> From: "Max Bowsher" To: References: <022b01c21de8$e2703da0$0100a8c0 AT advent02> Subject: Re: stubborn file Date: Thu, 27 Jun 2002 16:32:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Chris January wrote: > While trying to get mysql to run as an NT service under Cygwin, I somehow > created a file that won't go away. I can't delete the file, even as the > SYSTEM user. I can't rename it either. If I bring up the file properties in > Explorer, there is no Security tab for the file. If I type cacls > in a cmd.exe window as the SYSTEM user, I get an Access Denied error. If I > type dir /q as the SYSTEM user, the owner is shown as ---. Sysinternals' > Process Explorer shows no processes have an open handle on the file. The > user id is 63220 and the group id is 40359. None of the user ids or group > ids on my system are anywhere near these numbers. > How do I delete this file? Also, which bug allowed a file to be created with > these sorts of permissions in the first place? > > Thanks in advance > Chris Very odd that the security tab is missing. Perhaps you can find a utility to take ownership of the file? That will allow you to edit its permissions. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/