View Single Post

   
  #5 (permalink)  
Old 01-05-2008, 06:04 AM
Alberto 'JCN-9000' Varesio
 
Posts: n/a
Default Re: export using network name ... anyone ? - Solution

Erlo Haugen wrote:
> Alberto 'JCN-9000' Varesio wrote:
>
>>
>> Hi all,
>> I'm trying to restrict NFS write access to a single host outside my
>> net, while allowing rw access to my local clients.
>>

> In 5.2 it is possible to export a directory read-mostly, and then give
> a hostname list of machines with write access. Haven't tried it.
>


It's available sice long, 4.3 has, but client list is too long, not
practical, ...

Looking at 5.3 documentation and extrapolating I've got an
undocumented solution: write-mostly ! Just the opposite of what you
are saying.

/home -ro=client,rw

gives write access to the world, read-only to the listed client.

works on 4.3 and up

--
Alberto 'JCN-9000' Varesio AKA BlueRider AIX pSeries System Admin
Datavision PLM - Tel: +393351811324 Biker on HONDA CB500 - LHG
http://www.datavisionplm.com Jeeper on Sport TJ - Wave
4U2Read: http://www.georgedillon.com/web/spam_fighting.shtml
==
Computers are wonderful...
In few seconds they make more mistakes
than a person in many years...
Reply With Quote