From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 06:54:59 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4D18B16A420 for ; Wed, 19 Oct 2005 06:54:59 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (fw.math.ku.dk [130.225.103.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E093F43D48 for ; Wed, 19 Oct 2005 06:54:58 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (localhost [127.0.0.1]) by imf.math.ku.dk (Postfix) with ESMTP id B542A1B297; Wed, 19 Oct 2005 08:54:55 +0200 (CEST) Received: from shannon.math.ku.dk (shannon.math.ku.dk [130.225.103.12]) by imf.math.ku.dk (Postfix) with ESMTP; Wed, 19 Oct 2005 08:54:55 +0200 (CEST) Date: Wed, 19 Oct 2005 08:54:55 +0200 (CEST) From: Erik Norgaard To: Mohan Singh In-Reply-To: <48d803190510181542o528b15at95b1a3005329fb2d@mail.gmail.com> Message-ID: References: <48d803190510181542o528b15at95b1a3005329fb2d@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: root can't write to NFS mounted directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 06:54:59 -0000 On Tue, 18 Oct 2005, Mohan Singh wrote: > The users who log in via NIS can write to their respective home > directories, but root on the NFS client can't. > > The NFS directories are exported via a NAS. I know it is not a > configuration issue on the NFS server, as it previously worked fine, > and the only change I have made recently is to wipe and install the > client. > > What setting on the client allows root to write to NFS mounted directories? This behaviour is expected if you haven't set maproot on the server. By default the server will map the root user on the client to nobody on the server. On the server set --maproot=root to give root on the client access as root on the server. - I know you write that it worked and you haven't changed anything on the server, but check it anyway. Anyway, it is not recommended to use --maproot, in particular not for write mounted shares as there is no authentication. Cheers, Erik