I have a strange problem with a AIX server, user are having problem
with using du will in their ksh shell, if they switch to sh or bash
there is not problem. root account that are using ksh but have not
problem with du.
this is the error messages when trying to run du
du: can't find current directory
can this be cause by the setting in ksh or some other problem?
Thanks
Robert Ngo
> this is the error messages when trying to run du
> du: can't find current directory
You most likely have incorrect underlying mount-point permissions which
you can confirm by running /bin/pwd _as the user_ in the directory where
they are experiencing the problem. If it shows an error, you need to fix
things.
e.g. if you have the problem in /apps/oracle and you do 'umount
/apps/oracle', the underlying /apps/oracle directory should be owned by
root.system and have 755 permissions. If you then do 'mount
/apps/oracle', everything should work fine (and still be owned by the
correct user).
cheers
Niel
i can run pwd to get the current directory, i am having problem
running du on id that have home directory on /apps/prd, using
different shell does not effect the result.
Sigh - I did not ask you to run 'pwd' (which is a shell builtin), I said
'/bin/pwd'.
If you get 'Permission denied' you should try my earlier advice.
Niel
found the problem, thanks.
Mind sharing it with the newsgroup, it could help somebody else?
Niel
Would you mind sharing a bit about it, since that's the purpose of this
newsgroup?
Niel