Q2.10. I want to share files within the same group.
If you wish to have the contents of your home directory referenced by your own group, you can use a feature called ACL.
For example, if you want the group k9999 to refer to your own k999901 home directory, the k9999 group will be accessible by executing the following command.
cd /home/k9999
setfacl -m group:k9999:r-x ./k999901
It is also possible to specify a user as follows.
To make k999902 refer to its own k999901 home directory, execute the following command.
setfacl -m user:k999902:r-x ./k999901
To check the configured ACLs, use the following command.
getfacl ./k999901