Date: Fri, 13 Jun 2003 21:56:35 +0200 (CEST) From: Mats Larsson <myrslok@marvin.sko.mh.se> To: freebsd-questions@freebsd.org Subject: problems getting groupquota to work on 5.1 Message-ID: <20030613213934.F1454@marvin.sko.mh.se>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030613213934.F1454>