bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: documentation bug (uid resetting in posix mode)


From: Bob Proulx
Subject: Re: documentation bug (uid resetting in posix mode)
Date: Tue, 30 Oct 2012 13:31:54 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Stefano Lattarini wrote:
> Hi Bob, thanks for the tips.  However ...
> 
> Bob Proulx wrote:
> > Stefano Lattarini wrote:
> >> Anyway, my /bin/sh is bash ...
> >>   $ ls -l /bin/sh
> >>   lrwxrwxrwx 1 root root 4 Jul  8  2010 /bin/sh -> bash
> >> I'm on Debian Unstable BTW (sorry for not specifying that earlier).
> > 
> > Let me say this aside on the issue since there is opportunity for some
> > confusion.  On Debian the default for new installations is that
> > /bin/sh is a symlink to dash.  But existing systems that are upgraded
> > will not get this change automatically and will remain as a symlink to
> > bash.  It must be specifically selected if desired. 
> >
> ... I'm not so sure all of scripts on my system are exempt from
> bashisms; so rather than risking obscure bugs, I'll keep bash as
> my system shell (for the current system, at least).  If it ain't
> broken, don't fix it ;-)

I wasn't suggesting that you change it.  I was simply noting that the
symlink has two standard values.  Which has caused confusion elsewhere
concerning whether it was bash behavior or dash behavior.  There isn't
a canonical configuration.

Knowledge is power, and all of that.

Bob





reply via email to

[Prev in Thread] Current Thread [Next in Thread]