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 To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: deleting a file ending with a dot Date: Fri, 16 Jan 2004 12:26:13 -0800 Lines: 27 Message-ID: References: <20040116115643 DOT GA28749 AT ata DOT cs DOT hacettepe DOT edu DOT tr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 In-Reply-To: Dave Korn wrote: >> -----Original Message----- >> From: cygwin-owner On Behalf Of Baurjan Ismagulov > >> tar has created a file ending with a dot, and now I can't delete it >> (I've tried rm, del in cmd, explorer, far, unlink call with and >> without -mno-cygwin). What would you suggest before I search an 8-GB >> volume for the directory entry with a disk editor? I would appreciate >> any help (pointers to NTFS directory structure description also >> welcome). Scandisk didn't report any problems. > > Maybe there's a problem with the perms on it? What output do you get > from "ls -la file." and from "cacls file." ? > > BTW, this would have been a better bug report if you had told us what > actually *happened* when you tried all those things - did you get > error messages? Did unlink return an error code? Or did just nothing > happen? Or did your machine BSOD and start smoke pouring out the back? > Knowing what happened is the first clue to start working out what went > wrong, you see. It never ceases to amaze me how people tend to forget to include such critical data. My usual response is a question: What was your first indication that it failed? -- Everywhere is walking distance if you have the time. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/