X-Spam-Check-By: sourceware.org Message-ID: <45CCDE32.60108@cygwin.com> Date: Fri, 09 Feb 2007 15:48:50 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc4.remi Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Help. Cygwin corrupting files References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Chuck wrote: > At first I thought my recent problems with cygwin were limited to the > occasional "ls" command listing nothing. Run it again an it works > (usually). Now the problems are getting worse. I tried to "rm" a file > that I own and it didn't fully delete it. It corrupted it. An ls of the > file shows this (that is, when the ls command works). > > $ ls -l > ls: cannot access bin_dirs.txt: No such file or directory > total 14 > drwxr-xr-x+ 2 CHamilto Domain Users 0 Feb 9 14:50 ./ > drwxr-xr-x+ 19 CHamilto Domain Users 0 Feb 9 14:33 ../ > -rw-r--r-- 1 CHamilto Domain Users 3196 Feb 9 14:48 all_bin_dirs.txt > ??????????? ? ? ? ? ? bin_dirs.txt > -rwx------ 1 CHamilto Domain Users 368 Feb 9 14:33 chuck.sh* > -rwxrwx--- 1 CHamilto Domain Users 3069 Feb 9 11:06 cleanup_rman.sh* > -rw-r--r-- 1 CHamilto Domain Users 1491 Feb 9 14:08 servers > -rwxrwx--- 1 CHamilto Domain Users 270 Feb 9 14:50 upload.sh* > > > What is up with that? I can't access or remove the bin_dirs.txt file now > with either cygwin or windows. I tried resetting the owner but chown > fails too. > > $ chown "CHamilto:Domain Users" bin_dirs.txt > chown: cannot access `bin_dirs.txt': No such file or directory > > > I have tried reinstalling cygwin and coreutils to no avail. Did > something happen in a recent release of cygwin to explain this bizarre > behavior? I've been using cygwin for years and never experienced > anything like this. Please help! Have you checked if you can do similar operations with DOS commands? I believe what you're seeing here is a hardware (probably disk) problem. Years ago I had a failing disk pick off files randomly for a while until the whole thing finally went. -- 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? -- 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/