'user and group permissions in linux

I have linux compute mounted with FSS using nfsv3. fstab has the following output:

<nfs_ip_address>:/personal_docs on /mnt/pds type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=<nfs_ip_addr>,mountvers=3,mountport=2048,mountproto=udp,local_lock=none,addr=<nfs_ip_addr>)

My main user account is ubuntu and main group is ubuntu in linux os. The above mentioned nfs mount path has RWX permission for ubuntu user and RW for group ubuntu.

What I am trying to achieve is,

  1. Create new user (sagar) and provide this new user RWX permission to nfs share. But I do not want to add this user to ubuntu group, but rather have separate group as I will be adding more users in future.
  2. I will have another user (testapp) which I need to give Read-Only permission to the above nfs share.

I tried to achieve this using acl, but nfsv3 does not have acl support and I am stuck to proceed further. Any suggestion please for me?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source