From nobody@FreeBSD.org  Sun Dec  3 10:40:06 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id D08C237B400
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  3 Dec 2000 10:40:05 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id eB3Ie5645656;
	Sun, 3 Dec 2000 10:40:05 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200012031840.eB3Ie5645656@freefall.freebsd.org>
Date: Sun, 3 Dec 2000 10:40:05 -0800 (PST)
From: hunter@dina.kvl.dk
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: exports(5) man page erroneous in 4.2-STABLE
X-Send-Pr-Version: www-1.0

>Number:         23251
>Category:       docs
>Synopsis:       exports(5) man page erroneous in 4.2-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 03 10:50:00 PST 2000
>Closed-Date:    Mon Apr 2 22:02:29 PDT 2001
>Last-Modified:  Mon Apr 02 22:02:56 PDT 2001
>Originator:     Lars Josephsen
>Release:        4.2-STABLE
>Organization:
Royal Veterinary and Agricultural University, Denmark
>Environment:
FreeBSD joy.dina.kvl.dk 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Dec  1 17:49:13 CET 2000     root@joy.dina.kvl.dk:/usr/obj/usr/src/sys/JOY  i386
>Description:
The examples in the exports(5) man page, give the impression that it is
possible to implement fine grained access control to exported file
systems, by using several lines, per file system, in /etc/exports.

Specifically it appears that these lines would be valid in /etc/exports:
/usr /usr/local -maproot=0:10 friends
/usr -maproot=daemon grumpy.cis.uoguelph.ca 131.104.48.16
/usr -ro -mapall=nobody

Since only one line, per file system, is allowed in /etc/exports, this
man page might confuse users: It confused me.
>How-To-Repeat:

>Fix:
Someone should rewrite the exports(5) man page to reflect the reality
of FreeBSD-STABLE. If I thought I was qualified, I would volunteer
myself.

>Release-Note:
>Audit-Trail:

From: "Crist J. Clark" <cjclark@reflexnet.net>
To: freebsd-gnats-submit@FreeBSD.org, hunter@dina.kvl.dk
Cc:  
Subject: Re: docs/23251: exports(5) man page erroneous in 4.2-STABLE
Date: Mon, 01 Jan 2001 20:37:12 -0800

 Off the top of my head, I do not see what is wrong with the example
 provided. However, does PR docs/23950 solve or partially solve
 this problem?
 -- 
 Crist J. Clark                           cjclark@alum.mit.edu
 
State-Changed-From-To: open->feedback 
State-Changed-By: dd 
State-Changed-When: Sat Mar 31 17:23:56 PST 2001 
State-Changed-Why:  
I agree with Crist's analysis.  There doesn't seem to be a problem 
with the examples, and there is an FAQ entry about it anyway.  Is this 
sufficient? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23251 
State-Changed-From-To: feedback->closed 
State-Changed-By: dd 
State-Changed-When: Mon Apr 2 22:02:29 PDT 2001 
State-Changed-Why:  
Originator reports that the FAQ entry mentioned in the audit-trail is 
sufficient. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23251 
>Unformatted:
