Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!ncar!midway!sam.uchicago.edu!mack23 From: mack23@sam.uchicago.edu (Chris Walsh) Newsgroups: comp.unix.aix Subject: problems with pwd in csh, bsh, but not ksh Message-ID: <1990Jul18.185002.11479@midway.uchicago.edu> Date: 18 Jul 90 18:50:02 GMT Sender: news@midway.uchicago.edu (News Administrator) Reply-To: mack23@cicero.uchicago.edu (Chris Walsh) Distribution: usa Organization: University of Chicago SocSci Comp Center Lines: 31 We have just gotten the GA release of AIX 3.1 installed on a POWERStation 530 and have the following weird problem, which has not been heard of by IBM software support. Maybe someone out there has some hints. I am waiting to be contacted by IBM on this, but they don't have a monopoly on knowledge, so here goes... When logged in as Joe User, with initial program of /bin/csh, the pwd command returns "pwd: permission denied" when run anywhere on our users partition (i.e. /u). When run elsewhere, it works fine. Permissions and paths are OK, and the flaw persists when /bin/pwd is called explicitly, plus the problem exists even in the absence of a user's .cshrc. When root attempts the same thing, it works fine. When Joe User spawns a Korn shell, or if his initial program is /bin/ksh everything works fine! The same weirdness pertains if the shell involved is /bin/bsh! If anyone has had (and, hopefully, cured!) this problem, please e-mail me. Anyone with suggestions re: a solution can do the same. Thanks. I will post the fix that works. Chris Walsh University of Chicago Social Sciences and Public Policy Computation Center Disclaimer: Since this is my first posting, I have no fancy .sig and therefore would be mightily embarrassed to inadvertently be considered as speaking for anyone but myself.