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

Re: /bin/bash: Permission denied



On Wed, 4 Jun 2003 14:34:03 +0200
"gabriel meier" <gabriel.meier@web.de> wrote:
  
> I tried to solve some dependencies in the libs, to install k3b. i guess
> i upgraded some of them. anyway, apt tells me, everything should be
> fine. apt-get -f install doesn't change anything. 

Hmm.  All the stuff you showed me looks fine.  The strace doesn't have any
answers obvious enough for my little brain to comprehend.

But you had mentioned before that your libraries were ok?

How about double checking by trying something like this :

<took me a few hacks to get the following script right> :) 

538[mightyd@dld:~]$  ls -Ll `ldd /bin/bash | cut -d ' ' -f 3 `
-rwxr-xr-x    1 root     root        82456 Apr 19 14:57 /lib/ld-linux.so.2
-rwxr-xr-x    1 root     root      1103880 Apr 19 14:57 /lib/libc.so.6
-rw-r--r--    1 root     root         7992 Apr 19 14:57 /lib/libdl.so.2
-rw-r--r--    1 root     root       239312 May 14 14:50
/lib/libncurses.so.5

- Making sure the the libraries are world readable -

or step-by-step

$ ldd /bin/bash
        libncurses.so.5 => /lib/libncurses.so.5 (0x4001f000)
        libdl.so.2 => /lib/libdl.so.2 (0x4005c000)
        libc.so.6 => /lib/libc.so.6 (0x4005f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

then ls -Ll each /lib/lib<blah> listed.

It looks like you might want to try some other apt options also, like:

apt-get --reinstall bash libc6 <and the other libraries that might be
goofed>

Have fun, I am.

--
 _  _        _                      
| || |   ___| |___   ___  _ __ __ _ 
| || |_ / __| / __| / _ \| '__/ _` |
|__   _| (__| \__ \| (_) | | | (_| |
   |_|  \___|_|___(_)___/|_|  \__, |
 Dan Dofton, Automation Asst. |___/ 
 ddofton@4cls.org (607)723-8236e313








Reply to: