Hello Al-S,

Thanks for the fast response.
I try to describe a scenario because I think I have not described exactly what I mean.

I have created a group quota.
This group has only one user.
Additionally the user is a member of another group.
This is only for testing.

I uploaded the group quota file and fill the home directory of the user with files till the quota limit is reached.
Now when I try to create a new directory with mkdir command I get
mkdir: cannot create directory xyz: Disk quota exceeded.
This is exactly what I expect.

But when I change to a directory owned by a group the user is member of I have the same behavior as described above.
So I must explicitly change the users group with newgrp command.
After changed the group the user is again able to create directories.

So is there a way to set the quota only for the user´s primary group?

More precisely, when the user is working on a project in which he is a member of he must not use the newgrp command before.
But he is still limited in directories owned by his primary group when reached the quota limit.

I see the function “Quota for member of the group” but not sure how to use it.
It would be a benefit if the user must not type the newgrp command every time he work on a project owned by his secondary group.
Is there a way to implement this behavior via this function?

Regards
D. Marshauzer