Re: /etc/exports parsing is borked again in nfs-utils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Jun 30, 2016, at 11:42, Steve Dickson <SteveD@xxxxxxxxxx> wrote:
> 
> 
> 
> On 06/25/2016 04:12 PM, Trond Myklebust wrote:
>> [root@leira nfs]# cat /etc/exports
>> /export		-ro,sec=sys,sync	localhost(rw,no_root_squ
>> ash)
>> [root@leira nfs]# exportfs -rv
>> exporting localhost:/export
>> [root@leira nfs]# mount -t nfs localhost:/export /mnt/nfs
>> [root@leira nfs]# mkdir /mnt/nfs/gnurr
>> mkdir: cannot create directory ‘/mnt/nfs/gnurr’: Read-only file system
>> 
>> 
>> Note that removing the "sec=sys" above causes the test to succeed.
> When you say "succeed" what do you mean by that since your
> are specifying both 'ro' and 'rw’.

I expect the default option specification (i.e. ‘ro’) to be overridden by the host-specific option. That’s how it used to work, and I know, because I had to fix it once already.

Cheers
  Trond

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux