Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.questions Subject: Re: Strange file system problem. Message-ID: <1989Dec8.131217.1624@virtech.uucp> Date: 8 Dec 89 13:12:17 GMT References: <21681@adm.BRL.MIL> Organization: Virtual Technologies Inc. Lines: 23 In article <21681@adm.BRL.MIL>, ATT3B%UCONNVM.BITNET@cunyvm.cuny.edu (Martin Stein) writes: > After logging in i issue the 'pwd' command. It says: > > pwd: cannot open .. > > Then i did 'cd /user1' and 'cd'. After that pwd works. The problem is probably that you don't have read access to one of the directories above you (or maybe your login directory itself). the reason that pwd works after a cd /user1; cd is probably because the shell that you are using keeps track of the current directory. Try to run /bin/pwd directly and see if the "cannot open .." reappears. To find the problem you need to do an "ls -ld .." check permissions and if they are ok keep adding /.. until you find the directory tat does not have read permissons. -- +-----------------------------------------------------------------------+ | Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 ! | Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 | +-----------------------------------------------------------------------+