Ubu Server 7.10 Quota setup for groups
I have problems setting this up for a group. Am I right that a group quota applies its values to members of the group as individuals effectively?
The following works for me for individuals:
quotaoff -a
(then in /etc/fstab)
for / after 'defaults' add ',usrquota,grpquota'
mount -o remount /
touch /aquota.user /aquota.group
chmod 600 /aquota.*
edquota -u mike
(set soft blocks 1000, hard blocks 1500)
repquota /
(to see if all OK - it is)
quotaon -a
The user quota now works fine and from a Vista machine it is enforced.
Now for my problem: group quotas don't function when I do this:
quotaoff -a
edquota -u mike (to remove his quota limits (put back to 0))
addgroup standardusers
adduser mike standardusers
edquota -g standardusers
(set soft blocks 1000, hard blocks 1500)
repquota /
(to see if all OK - but standardusers not listed - why?)
quotaon -a
There is now no limit on mike - the group quota is not enforced!
Further questions:
Are the block quota values in kB?
Why did I have to create aquota.user etc not quota.user? (quota did not enforce limits with quota.user)
Thanks for all advice for this newb
|
Recent comments
18 hours 52 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 7 hours ago
1 day 15 hours ago
2 days 56 min ago
2 days 1 hour ago
2 days 5 hours ago
2 days 9 hours ago
2 days 10 hours ago