From owner-freebsd-questions Mon Sep 22 12:36:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA12310 for questions-outgoing; Mon, 22 Sep 1997 12:36:06 -0700 (PDT) Received: from staff.sirius.com (staff.sirius.com [205.134.226.222]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA12288 for ; Mon, 22 Sep 1997 12:36:01 -0700 (PDT) Received: from ds9.sirius.com (ds9.sirius.com [205.134.226.34]) by staff.sirius.com (8.8.7/Sirius-Inhouse) with ESMTP id MAA29513 for ; Mon, 22 Sep 1997 12:33:01 -0700 (PDT) Received: from localhost (dlowe@localhost) by ds9.sirius.com (8.6.12/970905) with SMTP id MAA14915 for ; Mon, 22 Sep 1997 12:35:50 -0700 X-Authentication-Warning: ds9.sirius.com: dlowe owned process doing -bs Date: Mon, 22 Sep 1997 12:35:49 -0700 (PDT) From: David Lowe X-Sender: dlowe@ds9 To: freebsd-questions@freefall.freebsd.org Subject: permissions on NFS mounted homedir Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk People - 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 # ls -ald /Users/dlowe drwxr-xr-x 11 dlowe staff 1024 Sep 22 12:22 /Users/dlowe And the mount has no strangeness - # mount /dev/sd0a on / (NFS exported, local) /dev/sd0s1f on /usr (asynchronous, local, noatime) /dev/sd0s1e on /var (local) procfs on /proc (local) vega:/usr/home on /Users vega:/usr/next on /private vega:/usr/spool on /usr/spool Has anyone seen this particular error and diagnosed it? This seems very very odd to me. Thanks in advance, David Lowe