Re: wrong modes in gnome-games
- From: Martin Baulig <martin home-of-linux org>
- To: Dirk Luetjens <dirk luedi oche de>
- cc: Todd Graham Lewis <tlewis mindspring net>, gnome-list gnome org
- Subject: Re: wrong modes in gnome-games
- Date: Fri, 17 Jul 1998 10:09:13 +0200 (CEST)
On 17 Jul 1998, Dirk Luetjens wrote:
> To: Todd Graham Lewis <tlewis@mindspring.net>
> Subject: Re: wrong modes in gnome-games
> From: Dirk Luetjens <dirk@luedi.oche.de>
>
> Hi,
>
> Todd Graham Lewis <tlewis@mindspring.net> writes:
>
> > On Thu, 16 Jul 1998, Dirk Luetjens wrote:
> >
> > > why are the most gnome-games set to mode 2111:
> >
> > Almost certainly so that they can update the scores file securely.
>
> Yes, but shouldn´t they have at least read permissions?
>
> Or why am I getting these strange errors:
>
> > dirk@hobbes[~]> ls -l gnomine
> > ---x--s--x 1 dirk games 333605 Jul 16 15:48 /opt/gnome/bin/gnomine*
> > dirk@hobbes[~]> gnomine
> > gnomine: error in loading shared libraries
> > libgnomeui.so.0: cannot open shared object file: No such file or directory
> > dirk@hobbes[~]> chmod a+r /opt/gnome/bin/gnomine
> > dirk@hobbes[~]> ldd /opt/gnome/bin/gnomine
> > libgnomeui.so.0 => not found
> ...
> > libgnome.so.0 => not found
> > libgnomesupport.so.0 => not found
> ...
> > dirk@hobbes[~]> chmod 755 /opt/gnome/bin/gnomine
> > dirk@hobbes[~]> ls -l /opt/gnome/bin/gnomine
> > -rwxr-xr-x 1 dirk games 333605 Jul 16 15:48 /opt/gnome/bin/gnomine*
> > dirk@hobbes[~]> gnomine
> ---> gnomine is running
Well, those errors are not so strange at all. How does your mode 755
gnomine get the libraries ? Are they listed in /etc/ld.so.conf or do you
have LD_LIBRARY_PATH set ? You need to listen the directories containing
the libraries in /etc/ld.so.conf 'cause LD_LIBRARY_PATH is ignored for
suid and sgid programs. This is true at least under Linux, but AFAIK also
under every other system 'cause it would be a big security hole otherwise
(imagine someone could use his own /lib/libcrypt.so for /bin/su ...)
Martin
-----------------------------------------------------------------
Martin Baulig - Angewandte Mathematik - Universitaet Trier
baulig@castor.uni-trier.de, http://www.home-of-linux.org/
Key: 1024-bit key with ID C8178435 created 1997/01/24
ID: 67 C1 84 A0 47 F5 11 C5 5F 68 4C 84 99 05 C3 92
Finger me for public key or fetch finger.txt from the url above
------------------------------------------------------------------
PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]