Hello all!

On 5.1-RELEASE i386 i having problems to get groupquota to work on a file
system. option QUOTA is compiled into the kernel, enable_quotas and
check_quotas are enabled in /etc/rc.conf

created a user named testuser with group testuser and put quota on the
/tmp fs. userquota works fine when i set it with edquota but the
user don't se any limits with groupquota at all. Both files are created
correctly in the /tmp fs.


workstation# uname -rp
5.1-RELEASE i386

workstation# cat /usr/src/sys/i386/conf/WORKSTATION | grep QUOTA
option          QUOTA                   # for usage of quota on fs

workstation# cat /etc/fstab | grep quota
/dev/ad0s3d             /tmp            ufs     rw,userquota,groupquota 2 2

workstation# ls -la /tmp/quota.*
-rw-r-----  1 root  operator  2097120 Jun 13 21:49 /tmp/quota.group
-rw-r-----  1 root  operator  2097120 Jun 13 21:49 /tmp/quota.user

Quota are set with these values:
workstation# setquota -u -f /tmp -bh300000 -bs600000 testuser
workstation# setquota -g -f /tmp -bh300000 -bs600000 testuser

workstation# quota -u testuser
Disk quotas for user testuser (uid 1001):
     Filesystem   usage   quota   limit   grace   files   quota   limit
grace
           /tmp       2  400000  500000               1      80     100

workstation# quota -g testuser
Disk quotas for group testuser (gid 1001): none

Any possible proposal??

// Mats Larsson
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to