This is the mail archive of the
mailing list for the Cygwin project.
Re: zero byte /bin/bash file - what creates it?
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 11 Oct 2006 18:07:18 -0400
- Subject: Re: zero byte /bin/bash file - what creates it?
- References: <200610112043.k9BKh1Lr008690@tigris.pounder.sol.net>
- Reply-to: cygwin at cygwin dot com
Tom Rodman wrote:
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.
Are you untarring files into '/' and does that tar file have a '/bin/bash'
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html