As I promised to @gerald_FS I started to look after NFS and the shared folder, don’t hold your breath it is really the beginning of the search. However it is time to hear your needs and how you want it.
Firstly I found that the linux acl is working well even with nfsV3, but the drawback is that the acl GID or acl UID must be clear and set recursively to the shared folder.
what I did:
you set the export
[root@NS7DEV ~]# cat /etc/exports /var/lib/nethserver/ibay/toto/ 192.168.12.25(rw) /root/tata 192.168.12.25(rw)
restart nfs service
then you set acl GID on /var/lib/nethserver/ibay/toto
[root@NS7DEV ~]# setfacl -P -R -m g:1000:rwX,d:g:1000:rwX /var/lib/nethserver/ibay/toto
or for user
[root@NS7DEV ~]# setfacl -P -R -m u:1000:rwX,d:u:1000:rwX /var/lib/nethserver/ibay/toto
‘1000’ matches the gid/uid on my remote client
after that on the client
mount 192.168.12.170:/var/lib/nethserver/ibay/toto/ toto
so in the new plugin Ibay panel we need to create
- nfs settings
- IP/Network grant
- ACL grant for the remote client
I tried to use the acl field of the shared folder but it cannot be used to set a numeric UID/GID.