From owner-freebsd-questions Tue Apr 30 12:39: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blues.hodgsonhouse.com (blues.hodgsonhouse.com [24.72.10.211]) by hub.freebsd.org (Postfix) with ESMTP id 04A8E37B405 for ; Tue, 30 Apr 2002 12:39:00 -0700 (PDT) Received: (from tillman@localhost) by blues.hodgsonhouse.com (8.11.6/8.11.6) id g3UJcxv22555 for freebsd-questions@FreeBSD.ORG; Tue, 30 Apr 2002 13:38:59 -0600 Date: Tue, 30 Apr 2002 13:38:59 -0600 From: Tillman Hodgson To: freebsd-questions@FreeBSD.ORG Subject: Remounting NFS directories with different options Message-ID: <20020430133859.A22519@hodgsonhouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Editor: Vim Rocks! http://www.vim.org X-Mailer: Mutt Rocks! http://www.mutt.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Howdy, I have a directory (/exports/www) exported with as follows: /exports/www -ro -alldirs -maproot=tillman coyote I have a subdirectory (/exportes/www/project) that I want to export with read-write permissions. My first thought was to also explicitedly export it, but with different options: /exports/www/project -maproot=tillman coyote That didn't work, though. After kill -HUP'ing mountd, I had the following log entry: Apr 30 13:28:50 athena mountd[103]: can't change attributes for /exports/www/project Apr 30 13:28:50 athena mountd[103]: bad exports list line /exports/www/project -maproot The client seems to have thigns correctly mounted: [root@coyote www]# mount athena:/exports/www on /nfs/www (nfs, read-only) athena:/exports/www/project on /nfs/www/project (nfs) But it doesn't work as expected: [root@coyote www]# touch /nfs/www/project/test2 touch: /nfs/www/project/test2: Read-only file system Short of using completely seperate directory trees and using a mess of symlinks of the clients, is there a nice way to do this? TIA, - Tillman -- To give your sheep or cow a large spacious meadow is the way to control him. Shunryu Suzuki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message