Bug 157684 - [nfs] NFSv4 ignoring "-ro" option in exports file
Summary: [nfs] NFSv4 ignoring "-ro" option in exports file
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.2-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 13:40 UTC by Claudiu Vasadi
Modified: 2011-06-17 19:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claudiu Vasadi 2011-06-07 13:40:07 UTC
When exporting a NFSv4 share with "-ro" (readonly) the option gets ignored
and the share can be mounted "rw" (readwrite) on the remote machine.

How-To-Repeat: Enable NFSv4 on both the nfs server and the client and define a NFSv4
export with a "-ro" option. Then, on the nfs client, mount the export
as "rw".
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-06-09 03:40:15 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Fix synopsis and assign.
Comment 2 Rick Macklem freebsd_committer freebsd_triage 2011-06-17 19:23:20 UTC
State Changed
From-To: open->closed


An email discussion determined that the file system was 
actually exported read/write to the client. Some improvements 
to the exports.5 man page are needed.