SUMMARY : 2.6 "man" produces getcwd error?

From: Bryan Hodgson (
Date: Wed Sep 02 1998 - 15:12:09 CDT

Thanks to :

Daniel Ellis <>
Donald E Bodle <>
Tim Carlson <>
Sabrina Downard <>
Todd Herr <>

Don Bodle nailed the problem for me when he suggested "truss man man",
though Tim Carlson also pointed me in the right direction.

"joe" didn't have read priveleges to the immediate parent of his home
directory (e.g. "~/..). So he could log on just fine, but things got
wierd thereafter ...

It was not a mount point issue (which is covered in the archives, and was
mentioned by a couple of respondents, and which threw me off for a bit).

A passing spell of blindness. Thanks, all. Original query follows.

On Wed, 2 Sep 1998, Bryan Hodgson wrote:

> I'm perplexed.
> We've set up a new 2.6 machine. Fresh install, latest security and
> recommended patches.
> "man (anything)" from "joe user"'s home dir produces a message:
> getcwd: Permission denied
> No problems for root, of course. MANPATH is set to
> /usr/share/man:/usr/local/man. All directories and files there are
> readable. And joe can write to his home directory. catman -w has been
> run (by root). Of course, the getcwd man page has got a nice sample of
> code, but provides no clues (that I recognized, anyway) to figuring out
> where this problem occurs.
> Suggestions appreciated.

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:48 CDT