From owner-freebsd-questions@FreeBSD.ORG Sat Sep 30 18:39:34 2006 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 D696516A407 for ; Sat, 30 Sep 2006 18:39:34 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF2943D45 for ; Sat, 30 Sep 2006 18:39:34 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail1.panix.com (Postfix) with ESMTP id 781285A41C for ; Sat, 30 Sep 2006 14:39:33 -0400 (EDT) Received: from teddy.fas.com (c-68-58-232-106.hsd1.sc.comcast.net [68.58.232.106]) by mailspool2.panix.com (Postfix) with ESMTP id C889F113A5E0 for ; Sat, 30 Sep 2006 14:39:33 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1GTjkK-0000ly-00 for ; Sat, 30 Sep 2006 14:39:32 -0400 Date: Sat, 30 Sep 2006 14:39:32 -0400 From: stan To: Free BSD Questions list Message-ID: <20060930183932.GA2712@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 14:31:39 up 166 days, 15:34, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Problems properly setting up /etc/exports 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: Sat, 30 Sep 2006 18:39:34 -0000 I've got a FBSD 6 machine built from a 6.2 PRERELEASE set of sources that I need to use as an NFS server for some other similar machines. If I specify the machines by host name, or IP address in /etc/exports, I can mount the requisite directories from the test client. However, I really need to be able to allow 2 whole 1/2 class C's to mount these directories. My reading of the /etc/exports man page leads me to believe that I should be able to use a line like this: /usr/ports/distfiles maproot=root -network aaa.bbb.ccc.0 -mask 255.255.255.128 When I do this, and start mountd with the -d flag, I get: ountd: getting export list mountd: got line /usr/ports/distfiles maproot=root -network aaa.bbb.ccc.0 -mask 255.255.255.128mountd: making new ep fs=0x3e331e2f,0xe47d1981 But when I try to mount from a client n this network, it reports premission denied. I also tried putting a line like this in /etc/exports: /usr/ports/distfiles maproot=root -network mine and putting the following in /etc/networks: mine aaa.bbb But I still get the same error. What am I doing wrong? -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)