-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- --
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE91NpbrJK6UGDSBKcRAvHVAJ4+cHev6UBwbZnIqxO8a/y9IszV8QCfUXy+
sRdrjXGIUvFKF3LmtmgxW/g=
=EBVU
-----END PGP SIGNATURE-----


Reply via email to