Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Andrew Schulman <andrex@alumni.utexas.net>
Subject: Re: nul
Date: Tue, 26 Oct 2004 04:07:03 -0400
Lines: 13
Message-ID: <cll0j7$nfr$1@sea.gmane.org>
References: <1981E79C7C98A547B36D794FBEC5337002968191@moscntx1.russia.intl.pepsi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Complaints-To: usenet@sea.gmane.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/

