Buchan Milne <[EMAIL PROTECTED]> writes:

> This is a problem when group names have a space, typical when Mandrake
> is configured for winbind, returning windows group names like "Domain
> Users", breaking this script, which things like wincvs don't like for
> some reason.
>
> Please don't assume that usernames and groupnames will not have spaces
> in them.
>
> Please apply this patch:
>
> --- bashrc.orig 2002-11-15 13:23:37.000000000 +0200
> +++ bashrc      2002-11-15 13:19:43.000000000 +0200
> @@ -5,7 +5,7 @@
>
>  # by default, we want this to get set.
>  # Even for non-interactive, non-login shells.
> -if [ `id -gn` = `id -un` -a `id -u` -gt 99 ]; then
> +if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then
>         umask 002
>  else
>         umask 022

I will apply

-- 
Warly

Reply via email to