This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nul


> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]