Re: /bin/ gets deleted on error

2017-04-19 Thread Gerrit Haase
2017-04-13 15:13 GMT+02:00 Felipe Vieira says: > > For the second time this week my /bin/ folder gets obliterated on an > error during normal usage. It is equivalent of doing the infamous "rm > -rf /bin" . > ... > From what I recall the terminal was spamming messages containing the > words "fork"

Re: /bin/ gets deleted on error

2017-04-17 Thread Felipe Vieira
On Thu, Apr 13, 2017 at 10:13 AM, Felipe Vieira wrote: > Dear cygwin mailing list, > > For the second time this week my /bin/ folder gets obliterated on an > error during normal usage. It is equivalent of doing the infamous "rm > -rf /bin" . > > 1) I would like to know if

Re: /bin/ gets deleted on error

2017-04-14 Thread Norton Allen
On 4/14/2017 8:42 AM, cyg Simple wrote: On 4/13/2017 2:43 PM, Brian Inglis wrote: defensive coding is your friend to avoid disasters: if [ -n "$foodir" ] && [ -d $foodir/ ]; then /bin/rm -fR -- $foodir || exit else echo "Can't find directory '$foodir'"

Re: /bin/ gets deleted on error

2017-04-14 Thread cyg Simple
On 4/13/2017 2:43 PM, Brian Inglis wrote: > defensive coding is your friend to avoid disasters: > if [ -n "$foodir" ] && [ -d $foodir/ ]; then > /bin/rm -fR -- $foodir || exit > else > echo "Can't find directory '$foodir'" > exit 2 > fi > And even this

Re: /bin/ gets deleted on error

2017-04-13 Thread Brian Inglis
On 2017-04-13 12:01, Dan Kegel wrote: >>> For the second time this week my /bin/ folder gets obliterated on an >>> error during normal usage. It is equivalent of doing the infamous "rm >>> -rf /bin" . > > What were you doing immediately before the directory disappeared? > > I have only had

Re: /bin/ gets deleted on error

2017-04-13 Thread Dan Kegel
>> For the second time this week my /bin/ folder gets obliterated on an >> error during normal usage. It is equivalent of doing the infamous "rm >> -rf /bin" . What were you doing immediately before the directory disappeared? I have only had things like this happen from user error, e.g.

Re: /bin/ gets deleted on error

2017-04-13 Thread L A Walsh
Felipe Vieira wrote: Dear cygwin mailing list, For the second time this week my /bin/ folder gets obliterated on an error during normal usage. It is equivalent of doing the infamous "rm -rf /bin" . That's different. I take it trying to restore previous copies from the windows menu

Re: /bin/ gets deleted on error

2017-04-13 Thread cyg Simple
Decrypted message - On 4/13/2017 10:02 AM, cyg Simple wrote: > On 4/13/2017 9:29 AM, Marco Atzeri wrote: >> >> >> On 13/04/2017 15:13, Felipe Vieira wrote: >>> Dear cygwin mailing list, >>> >>> For the second time this week my /bin/ folder gets obliterated on an >>> error during normal usage. It

Re: /bin/ gets deleted on error

2017-04-13 Thread cyg Simple
bin9qaLFSpzSU.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message

Re: /bin/ gets deleted on error

2017-04-13 Thread Marco Atzeri
On 13/04/2017 15:13, Felipe Vieira wrote: Dear cygwin mailing list, For the second time this week my /bin/ folder gets obliterated on an error during normal usage. It is equivalent of doing the infamous "rm -rf /bin" . 1) I would like to know if there is a log for cygwin somewhere so I can

Re: /bin/ gets deleted on error

2017-04-13 Thread Adam Dinwoodie
Hi Felipe, On 13 April 2017 at 14:13, Felipe Vieira wrote: > For the second time this week my /bin/ folder gets obliterated on an > error during normal usage. It is equivalent of doing the infamous "rm > -rf /bin" . > > 1) I would like to know if there is a log for cygwin somewhere so I > can be

/bin/ gets deleted on error

2017-04-13 Thread Felipe Vieira
Dear cygwin mailing list, For the second time this week my /bin/ folder gets obliterated on an error during normal usage. It is equivalent of doing the infamous "rm -rf /bin" . 1) I would like to know if there is a log for cygwin somewhere so I can be more useful in specifying what happened.