I want to set up a /home where users have their own private folder and in addition share a different group folder with other users.
The goal is that users have their own small-sized folder for private files and the bulk of data is shared in the group folder
Let's say user quotas are set at 100GB and group quota at 1TB. We have a group 'G' consisting of users 'A', 'B' and 'C'
I wonder what happens if user A makes a file in the group G folder. For clarity the file permission in this example are userA:groupG.
For these files are they added to the user quota, the group quota or both? And if they are counted to both quotas how can I change it so that files created at the group level are not added to the user quota?
I think I address a very basic point but I haven't found an answer to it online. Sorry if I missed it somehow. Any explanations will be gladly appreciated.
Cheers