delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/26/04:07:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <andrex AT alumni DOT utexas DOT 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 AT moscntx1 DOT russia DOT intl DOT pepsi DOT com>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019