Re: Error on /bin/sh -login: "cannot remove /bin/sh.exe: Permission denied"

2006-05-01 Thread Igor Peshansky
On Sat, 29 Apr 2006, Eric Blake wrote: > According to Webb Roberts on 4/27/2006 2:00 PM: > >> I will also try to clean up the profile script to short-circuit when > >> you are running /bin/sh instead of /bin/bash > > > > One thing you might do is to have the /etc/profile.d sh-update-script > > del

Re: Error on /bin/sh -login: "cannot remove /bin/sh.exe: Permission denied"

2006-04-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Webb Roberts on 4/27/2006 2:00 PM: >> I will also try to clean up the profile script to short-circuit when you >> are running /bin/sh instead of /bin/bash > > One thing you might do is to have the /etc/profile.d sh-update-script > delete

Re: Error on /bin/sh -login: "cannot remove /bin/sh.exe: Permission denied"

2006-04-27 Thread Webb Roberts
I will also try to clean up the profile script to short-circuit when you are running /bin/sh instead of /bin/bash One thing you might do is to have the /etc/profile.d sh-update-script delete itself once it's run satisfactorily. I guess what got me on this was that there was a zombie /bin/sh

Re: Error on /bin/sh -login: "cannot remove /bin/sh.exe: Permission denied"

2006-04-27 Thread Eric Blake
Webb Roberts gtri.gatech.edu> writes: > > I just updated my cygwin install. > > on running /bin/sh -login, I got the following message: > > /bin/cp: cannot remove `/bin/sh.exe': Permission denied Not the nicest thing to have a random error message appear on stdout during a login, especially i

Error on /bin/sh -login: "cannot remove /bin/sh.exe: Permission denied"

2006-04-27 Thread Webb Roberts
I just updated my cygwin install. on running /bin/sh -login, I got the following message: /bin/cp: cannot remove `/bin/sh.exe': Permission denied Looks like the error is coming out of /etc/profile.d/00bash.sh: the part where it's trying to update /bin/sh.exe via a copy in the midst of running