delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/11/18:07:39

X-Spam-Check-By: sourceware.org
Message-ID: <452D6B16.9070407@cygwin.com>
Date: Wed, 11 Oct 2006 18:07:18 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: zero byte /bin/bash file - what creates it?
References: <200610112043 DOT k9BKh1Lr008690 AT tigris DOT pounder DOT sol DOT net>
In-Reply-To: <200610112043.k9BKh1Lr008690@tigris.pounder.sol.net>
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

Tom Rodman wrote:
> 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.


Are you untarring files into '/' and does that tar file have a '/bin/bash'
file?


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