zero byte /bin/bash file - what creates it?

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Oct 11 22:07:00 GMT 2006


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/



More information about the Cygwin mailing list