Article View: comp.sys.sun
Article #13515Re: getwd() problems
From: Joe Smith
Date: Fri, 02 Feb 1990 02:59
Date: Fri, 02 Feb 1990 02:59
14 lines
1276 bytes
1276 bytes
>Suppose a user logs in into process1, and goes to the directory
>/usr/kti/proj2. Note that this is physically a directory of process2. When
>he tries to do a 'pwd' he gets the message "pwd: getwd: can't open .."
The same thing happened to us today. I found the problem by typing "cd
.." over and over again until it failed. The problem was that "/.." (the
root directory) was protected drwxrw---- instead of drwxr-xr-x.
Do an "ls -ld /" on both systems to be sure.
Joe Smith (408)922-6220 | SMTP: JMS@F74.TYMNET.COM or jms@gemini.tymnet.com
BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms
PO Box 49019, MS-D21 | PDP-10 support: My car's license plate is "POPJ P,"
San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga speaks for me."
Technical Details
Message-ID:
<4624@brazos.Rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!yale!think!samsung!cs.utexas.edu!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!yale!think!samsung!cs.utexas.edu!rice!sun-spots-request From: jms@tardis.tymnet.com (Joe Smith) Newsgroups: comp.sys.sun Subject: Re: getwd() problems Keywords: Miscellaneous Message-ID: <4624@brazos.Rice.edu> Date: 2 Feb 90 02:59:29 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n6, Replies: v9n19 X-Sun-Spots-Digest: Volume 9, Issue 21, message 2 of 13