delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/11/16:43:26

X-Spam-Check-By: sourceware.org
Message-Id: <200610112043.k9BKh1Lr008690@tigris.pounder.sol.net>
To: cygwin AT cygwin DOT com
From: cygzx AT trodman DOT com (Tom Rodman)
Reply-to: cygwin AT cygwin DOT com
Subject: zero byte /bin/bash file - what creates it?
Date: Wed, 11 Oct 2006 15:43:01 -0500
X-IsSubscribed: yes
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

Greetings:

Admittedly just barely worth posting.. Over the years I've seen a
/bin/bash file, with 000 (---------) perms. This file is empty, has no
extension, and bash.exe is not touched. How the zero byte "/bin/bash"
get's created is a mystery. It subsequently blocks you from 'sshing'
in. It was created twice today - I was the only one on the server, in
both cases I was untarring (-jUxpf) or (--same-owner -jUxpf) a 70MB
file, sometime near the time of the "/bin/bash" timestamp. I believe in both
cases I may have ^C'd the tar job, as I was getting too many permissions
errors. It has to be something I did, I went through my bash history and
don't see anything obvious.

uname -a shows 
"CYGWIN_NT-5.2 c7mkes109 1.5.20s(0.155/4/2) 20060403 13:33:45 i686 Cygwin"

I'm not asking for help just sharing info.  I go for many months w/o this
happening, so I thought it was interesting that it happened twice today,
while I was dealing w/untar permissions challenges.

--
thanks much,
Tom


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