Bug 23251

Summary: exports(5) man page erroneous in 4.2-STABLE
Product: Documentation Reporter: hunter <hunter>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description hunter 2000-12-03 18:50:00 UTC
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.

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.
Comment 1 cjclark 2001-01-02 04:37:12 UTC
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
Comment 2 dd freebsd_committer freebsd_triage 2001-04-01 02:23:56 UTC
State Changed
From-To: open->feedback

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?
Comment 3 dd freebsd_committer freebsd_triage 2001-04-03 06:02:29 UTC
State Changed
From-To: feedback->closed

Originator reports that the FAQ entry mentioned in the audit-trail is 
sufficient.