From owner-freebsd-questions@FreeBSD.ORG Sat Oct 9 20:16:13 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBA9E16A56C for ; Sat, 9 Oct 2004 20:16:13 +0000 (GMT) Received: from relay.pixi.com (relay.pixi.com [206.127.224.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 802B243D2D for ; Sat, 9 Oct 2004 20:16:13 +0000 (GMT) (envelope-from knowtree@aloha.com) Received: from carter.pixi.com ([206.127.224.102]:4259 "EHLO carter.pixi.com") by relay.pixi.com with ESMTP id S8804AbUJIUQM (ORCPT ); Sat, 9 Oct 2004 10:16:12 -1000 Received: from Internal (206.127.224.85) by carter with SMTP; Sat, 09 Oct 2004 20:16:20 GMT X-Titankey-e_id: <70d3cf2d-5199-4b65-bc00-568b77999c2d> Received: from vaiosr7k.ozland (atm-251-63.pixi.com [206.127.251.63]) by koa.aloha.com (8.12.10/8.12.2) with ESMTP id i99KEgBH021079; Sat, 9 Oct 2004 10:14:43 -1000 (HST) From: Gary Dunn To: michaela In-Reply-To: <20041009182723.M39513@maa-net.net> References: <20041009182723.M39513@maa-net.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.13 (Preview Release) Date: 09 Oct 2004 10:02:37 -1000 Message-Id: <1097352159.2596.10.camel@vaiosr7k.ozland> Mime-Version: 1.0 cc: questions@freebsd.org Subject: Re: NFS(d) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 20:16:14 -0000 On Sat, 2004-10-09 at 08:41, michaela wrote: > > > Notice how the OWNERS and GROUPS of certain users (entries) don't belong to > the proper "owners". This causes, "PERMISSION DENIED" errors while trying to > read email in PINE because the mailbox isn't 'owned' by the specific user. > > The /var/mail directory on my usermachine (nfs-client) is the same as on the > emailserver (nfs-server). However, when running NFS the filepermissions > change the /var/mail directory on the userserver (nfs-client). > > I have the option -maproot=root in my /etc/exports file on the emailserver > (nfs-server). This only affects root. For security reasons, by default, root is not allowed to map to root across NFS. Only allow it when you know your LAN is well secured. > > Any idea to what might be causing this, and how I would resolve it??? I was > thinking that even though I have the SAME users on each box, the UIDs are > DIFFERENT on the two machines. Could that be it????? Yes, that is the problem. On my three box network I solve it by creating all accounts on a single box, then using rsync to distribute. There are three password files and the /etc/group file to keep in sync. I can't recall the names of all three password files, I think it's /etc/passwd, /etc/passwd.master, and /etc/passwd.db. You'll find them. -- Gary Dunn knowtree@aloha.com Honolulu