From owner-freebsd-questions Mon Sep 22 13:28:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA16889 for questions-outgoing; Mon, 22 Sep 1997 13:28:57 -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 NAA16884 for ; Mon, 22 Sep 1997 13:28:53 -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 NAA00985; Mon, 22 Sep 1997 13:25:56 -0700 (PDT) Received: from localhost (dlowe@localhost) by ds9.sirius.com (8.6.12/970905) with SMTP id NAA15028; Mon, 22 Sep 1997 13:28:46 -0700 X-Authentication-Warning: ds9.sirius.com: dlowe owned process doing -bs Date: Mon, 22 Sep 1997 13:28:45 -0700 (PDT) From: David Lowe X-Sender: dlowe@ds9 To: David Kelly cc: freebsd-questions@freefall.freebsd.org Subject: Re: permissions on NFS mounted homedir In-Reply-To: <199709222025.PAA23960@fly.HiWAAY.net> 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 David - Thanks very much for the pointer, that fixed it. Pretty strange, though :) Thanks, David Lowe On Mon, 22 Sep 1997, David Kelly wrote: > 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. >