From owner-freebsd-questions Mon Sep 22 13:25:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA16638 for questions-outgoing; Mon, 22 Sep 1997 13:25:36 -0700 (PDT) Received: from fly.HiWAAY.net (dkelly@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA16629 for ; Mon, 22 Sep 1997 13:25:32 -0700 (PDT) Received: (from dkelly@localhost) by fly.HiWAAY.net (8.8.6/8.8.6) id PAA23960; Mon, 22 Sep 1997 15:25:20 -0500 (CDT) Date: Mon, 22 Sep 1997 15:25:20 -0500 (CDT) From: David Kelly Message-Id: <199709222025.PAA23960@fly.HiWAAY.net> To: dlowe@sirius.com, freebsd-questions@freefall.freebsd.org Subject: Re: permissions on NFS mounted homedir Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk David Lowe writes: > > On a recently built FreeBSD 2.2.2 machine, I'm getting a very strange > error from login shells for all users: > > csh: Permission denied > csh: Trying to start from "/Users/dlowe" > > This seems to happen regardless of which shell they are using. This > started happening when we cut the home directories over to an NFS mounted > disk. I dug through some shell source code, and found the relevant > section of code. It looks like the shell is getting an error from the > getwd() call. But why? > > Home is /Users/dlowe - > # grep ^dlowe /etc/passwd > dlowe:*:12028:10:David Lowe:/Users/dlowe:/bin/csh > > I have r-x access to the directory, and each interim directory - > # ls -ald / > drwxr-xr-x 16 root wheel 512 Sep 18 12:14 / > # ls -ald /Users > drwxr-xr-x 105 root daemon 2048 Aug 29 15:16 /Users Stop right here. What are the permissions on /Users *before* you mount another fs on top of it? I've found it matters on SGI systems. 0755 is good, 0700 is not. Forgot if 0711 worked. -- David Kelly N4HHE, dkelly@hiwaay.net (hm) ====================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.