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 Schulman Subject: Re: nul Date: Tue, 26 Oct 2004 04:07:03 -0400 Lines: 13 Message-ID: References: <1981E79C7C98A547B36D794FBEC5337002968191 AT moscntx1 DOT russia DOT intl DOT pepsi DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: pcp04398386pcs.nrockv01.md.comcast.net User-Agent: KNode/0.8.0 X-Archive: encrypt X-IsSubscribed: yes > Once when I felt particulary stupid, I've added redirection to 'nul' > instead of '/dev/null' to a program run from cygwin cron. Now I've got a > file called 'nul' on NTFS disk and can do nothing about it neither with > windows tools nor from cygwin shell. Not a big problem, but annoying. Any > ideas on how to get rid of it? If you can't remove it, then its ownership or permissions probably aren't set to allow that. Take ownership of it, give yourself all permissions, and then delete it. If that doesn't work, try booting into the 2K/XP repair console, where you should be able to delete it. -- 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/