please follow below steps and explain me why /usr/bin/pwd fails...
Is it a bug or feature?
root@box01# df /NX_test
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/lv00 1048576 547360 48% 14010 11% /NX_test
root@box01# ls -ld /NX_test
drwxr-sr-x 7 sys sys 512 Apr 26 10:10 /NX_test
root@box01# su - ldap
$ cd /NX_test
$ pwd
/NX_test
$ /usr/bin/pwd
/NX_test
$ exit
root@box01# umount /NX_test
root@box01# ls -ld /NX_test
drwxr-xr-x 2 root system 256 Apr 26 09:24 /NX_test
root@box01# chmod 700 /NX_test
root@box01# ls -ld /NX_test
drwx------ 2 root system 256 Apr 26 09:24 /NX_test
root@box01# mount /NX_test
root@box01# ls -ld /NX_test
drwxr-sr-x 7 sys sys 512 Apr 26 10:10 /NX_test
root@box01# su - ldap
$ cd /NX_test
$ ls -ld .
drwxr-sr-x 7 sys sys 512 Apr 26 10:10 .
$ /usr/bin/pwd
pwd: The file access permissions do not allow the specified action.
$ /usr/bin/who
root pts/1 May 13 07:09 (gdnnb36.off.lsy.pl)
$ /usr/bin/ls
freenx_0.3.0.orig.tar.gz
$
Is it a bug or feature?
root@box01# df /NX_test
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/lv00 1048576 547360 48% 14010 11% /NX_test
root@box01# ls -ld /NX_test
drwxr-sr-x 7 sys sys 512 Apr 26 10:10 /NX_test
root@box01# su - ldap
$ cd /NX_test
$ pwd
/NX_test
$ /usr/bin/pwd
/NX_test
$ exit
root@box01# umount /NX_test
root@box01# ls -ld /NX_test
drwxr-xr-x 2 root system 256 Apr 26 09:24 /NX_test
root@box01# chmod 700 /NX_test
root@box01# ls -ld /NX_test
drwx------ 2 root system 256 Apr 26 09:24 /NX_test
root@box01# mount /NX_test
root@box01# ls -ld /NX_test
drwxr-sr-x 7 sys sys 512 Apr 26 10:10 /NX_test
root@box01# su - ldap
$ cd /NX_test
$ ls -ld .
drwxr-sr-x 7 sys sys 512 Apr 26 10:10 .
$ /usr/bin/pwd
pwd: The file access permissions do not allow the specified action.
$ /usr/bin/who
root pts/1 May 13 07:09 (gdnnb36.off.lsy.pl)
$ /usr/bin/ls
freenx_0.3.0.orig.tar.gz
$