[gobolinux-users] Rootless on Ubuntu 6.10
Lucas C. Villa Real
lucasvr at gobolinux.org
Fri Feb 16 12:46:37 UTC 2007
On 2/16/07, marco.cagnoli at oltrelinux.com <marco.cagnoli at oltrelinux.com> wrote:
> Hi there,
> I'm trying to install gobo rootless on ubuntu 6.10 and I'm experimenting
> several problems.
> The main one is that since 6.06, Ubuntu has dash as the default shell...
> /bin/sh is a link to /bin/dash and not to /bin/bash. With dash shell,
> scripts don't work.
> Changing the link is something dangerous because it impacts on the whole
> system (Ubuntu) and requires root privileges.
>
> I think that if it's mandatory using bash in order to work with gobo, all
> the scripts should point explicitly to /bin/bash and not to /bin/sh.
Hi Marco,
Indeed, we have already discussed about this subject in the past, but
it looks like we forgot to replace calls to /bin/sh by /bin/bash. I'll
take a look in the cvs so that next releases doesn't suffer from this
problem anymore.
As a quick workaround, you can run this simple script on the top of
your ~/Programs:
for i in `find . -type f`; do cat $i | sed 's,^#!/bin/sh,#!/bin/bash'
> x && mv x $i; done
This will hopefully fix the problem for you.
--
Lucas
powered by /dev/dsp
More information about the gobolinux-users
mailing list