OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Dmitry Alyabyev (dimitryal.org.ua)
Date: Thu Apr 25 2002 - 02:23:55 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    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