Subject: Re: exporting -ro nfs
To: None <netbsd-users@NetBSD.org>
From: George Georgalis <george@galis.org>
List: netbsd-users
Date: 01/18/2007 12:49:37
On Thu, Jan 18, 2007 at 12:51:24PM +0100, Hauke Fath wrote:
>Am 17.01.2007 um 21:43 Uhr -0500 schrieb George Georgalis:
>>I'm having trouble writing an /etc/exports file for
>>a read-only mount point. I'd expect it something
>>like:
>>
>>/host/software -maproot=nobody:nobody -ro -network 10/8
>>
>>but on the target host, that yeilds
>>
>>mount_nfs: can't access /host/software: Permission denied
>>
>>while other rw /host/* exports mount fine. What exactly is
>>the syntax for a ro export?
>
>Let me guess: The /host/* exports are on the same filesystem?
>
>You cannot export directories from one filesystem with differing
>credentials (like rw/ro, different access control liste, etc.). A
>workaround is to use null mounts, and export those.
Thanks, that sounds spot on. /host and all below is a single fs.
I'll look for some doc on what you suggest.
// George
--
George Georgalis, systems architect, administrator <IXOYE><