Re: Strange directory permission.

From: cbaker@GOODYEAR.COM
Date: Tue Nov 18 2003 - 09:41:06 EST


Long shot, but by chance do you have a file in "/local/bin" with the name
"pwd"? If so, is it executable?

Christopher M. Baker
Senior Technical Support Analyst
DSE/TCO
Goodyear Tire and Rubber Company

=================================================
Contains Confidential and/or Proprietary Information.
May not be copied or disseminated without the expressed
written consent of The Goodyear Tire & Rubber Company.
=================================================

                      "Othman,
                      Asmah-Julaili To: aix-l@Princeton.EDU
                      SITI-ITDGP3-302" cc: (bcc: Chris Baker/NA/GDYR)
                      <Asmah-Julaili.Othman Subject: Re: Strange directory permission.
                      @SHELL.COM>
                      Sent by: IBM AIX
                      Discussion List
                      <aix-l@Princeton.EDU>

                      11/18/2003 04:06 AM
                      Please respond to IBM
                      AIX Discussion List

Permission;

kltll2@localhost $ ls -ld /usr/bin/pwd
-r-xr-xr-x 1 bin bin 2046 Nov 04 11:25 /usr/bin/pwd

kltll2@localhost $ ls -l /bin/pwd
-r-xr-xr-x 1 bin bin 2046 Nov 04 11:25 /bin/pwd

-----Original Message-----
From: Holger.VanKoll@SWISSCOM.COM [mailto:Holger.VanKoll@SWISSCOM.COM]
Sent: 18 November 2003 16:19
To: aix-l@Princeton.EDU
Subject: Re: Strange directory permission.

post

ls -l /usr/bin/pwd
ls -l /bin/pwd

I assume the pbl are permissions on the binary
pwd is also a build-in

-----Original Message-----
From: Othman, Asmah-Julaili SITI-ITDGP3-302
[mailto:Asmah-Julaili.Othman@SHELL.COM]
Sent: Tuesday, November 18, 2003 3:35 AM
To: aix-l@Princeton.EDU
Subject: Strange directory permission.

Hi all,

I have a directory /local/bin with permission;

oracle@localhost $ ls -ld /local/bin
drwxr-xr-x 15 root sys 512 Nov 18 10:26 /local/bin

oracle@localhost $ ls -ld /local
drwxr-xr-x 22 root system 512 Nov 14 10:04 /local

The weird thing is, i can issue pwd command and it will return
/local/bin;
but when i issue /bin/pwd or /usr/bin/pwd; it will complains ;

oracle@localhost $ /usr/bin/pwd
pwd: The file access permissions do not allow the specified action.

oracle@localhost $ /bin/pwd
pwd: The file access permissions do not allow the specified action.

oracle@localhost $ pwd
/local/bin/oracle

oracle@localhost $ which pwd
/usr/bin/pwd

The question is, why i can't use full pathname command to check my
current directory?

oracle@localhost $ aclget /local
attributes:
base permissions
    owner(root): rwx
    group(system): r-x
    others: r-x
extended permissions
    disabled

oracle@localhost $ aclget /local/bin
attributes:
base permissions
    owner(root): rwx
    group(sys): r-x
    others: r-x
extended permissions
    disabled

oracle@localhost $ oslevel -r
5100-03



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:21 EDT