Vulnerability Development mailing list archives

Re: /lib/ld-2.2.4.so


From: Dmitry Alyabyev <dimitry () al org ua>
Date: Thu, 25 Apr 2002 10:23:55 +0300

On Tuesday 23 April 2002 09:37, Birger Toedtmann wrote:
I cannot reproduce this behaviour:

  # id
  uid=0(root) gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)

  # ls -l /bin/ls
  -rwxr-x---    2 root     root        45948 Aug  9  2001 /bin/ls

  # exit
  $ id
  uid=500(birger) gid=500(birger) groups=500(birger)

  $ ls
  bash: /bin/ls: Permission denied

  $ /lib/ld-2.2.4.so /bin/ls
  /bin/ls: error while loading shared libraries: /bin/ls: cannot open
shared object file: Permission denied

it's because you missed "r" permission for /bin/ls

-- 
Dimitry


Current thread: