Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 1997 15:25:20 -0500 (CDT)
From:      David Kelly <dkelly@fly.HiWAAY.net>
To:        dlowe@sirius.com, freebsd-questions@freefall.freebsd.org
Subject:   Re:  permissions on NFS mounted homedir
Message-ID:  <199709222025.PAA23960@fly.HiWAAY.net>

next in thread | raw e-mail | index | archive | help
David Lowe <dlowe@sirius.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709222025.PAA23960>