norbert.hanke
Dabbler
- Joined
- Aug 6, 2019
- Messages
- 11
I'm trying to set up NFS shares in a way that all systems in my networks get read-only access to a certain directory, while only a few systems get write access. At the same time some other systems get write access to yet another directory.
All directories are on the same filesystem.
All configuration is done via the GUI, and the result is reflected in the /etc/exports file:
# cat /etc/exports
/mnt/mypool/fs1/tools -maproot="backupuser" adminws1.ad.mydomain.ch adminws2.ad.mydomain.ch
/mnt/mypool/fs1/backups -maproot="backupuser" dc1.ad.mydomain.ch dc2.ad.mydomain.ch
/mnt/mypool/fs1/tools -ro -maproot="backupuser" -network 192.168.77.0/24
/mnt/mypool/fs1/tools -ro -maproot="backupuser" -network 192.168.78.0/24
Much to my surprise, the systems that have write access to /mnt/mypool/fs1/backups also have write access to /mnt/mypool/fs1/tools which they should not have.
Is this a bug? Or a limitation of how NFS exporting works?
All directories are on the same filesystem.
All configuration is done via the GUI, and the result is reflected in the /etc/exports file:
# cat /etc/exports
/mnt/mypool/fs1/tools -maproot="backupuser" adminws1.ad.mydomain.ch adminws2.ad.mydomain.ch
/mnt/mypool/fs1/backups -maproot="backupuser" dc1.ad.mydomain.ch dc2.ad.mydomain.ch
/mnt/mypool/fs1/tools -ro -maproot="backupuser" -network 192.168.77.0/24
/mnt/mypool/fs1/tools -ro -maproot="backupuser" -network 192.168.78.0/24
Much to my surprise, the systems that have write access to /mnt/mypool/fs1/backups also have write access to /mnt/mypool/fs1/tools which they should not have.
Is this a bug? Or a limitation of how NFS exporting works?