From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2f40c2156ff6ddf3 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-12-29 19:30:17 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.mathworks.com!usenet.eel.ufl.edu!usenet.cis.ufl.edu!caen!crl.dec.com!crl.dec.com!nntpd.lkg.dec.com!lkg.dec.com!thomas From: thomas@lkg.dec.com (Matt Thomas) Newsgroups: comp.sys.dec Subject: Re: Help, pwd doesn't work!! Date: 29 Dec 1994 23:01:59 GMT Organization: Digital Equipment Corporation Sender: thomas@netrix.lkg.dec.com (Matt Thomas) Distribution: world Message-ID: <3dvf57$a0c@nntpd.lkg.dec.com> References: Reply-To: thomas@lkg.dec.com NNTP-Posting-Host: netrix.lkg.dec.com Keywords: getwd, pwd X-Newsreader: mxrn 6.18-30 In article , goluboff@rmchep.Colorado.EDU (Mariano Goluboff) writes: |>Hello, |> I have been having some problems with this machine that I just |>upgraded from Ultrix 4.2a to 4.4. Specifically, when I type pwd as |>unpriviledged user, I get: |>pwd: getwd: No such file or directory |> If I do it as super-user, I get /, when it should be /home, or |>whatever the directory is. It happens sometimes in one filesystem, |>sometimes in another, just at random. |> |>Any ideas, ways to fix it? Known bug. There is a patch available for it from your local CSC. Patch id: ULTV44-020-3 Under ULTRIX V4.4, several commands and utilities will fail with: getwd: No such file or directory The problem has been isolated to the getwd() system call detecting an unresolved link when traversing back up the tree. The unresolved links are normal and can be created by automount, leftover from a removed mountpoint or by a customer's application. This problem could also be experienced if the getcwd() library call is used. -- Matt Thomas Internet: thomas@lkg.dec.com U*X Networking WWW URL: http://ftp.dec.com/%7Ethomas/ Digital Equipment Corporation Disclaimer: This message reflects my Littleton, MA own warped views, etc.