From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 12:58:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 045E937B401 for ; Fri, 13 Jun 2003 12:58:28 -0700 (PDT) Received: from marvin.sko.mh.se (marvin.sko.mh.se [193.10.250.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8CAC43F93 for ; Fri, 13 Jun 2003 12:58:26 -0700 (PDT) (envelope-from myrslok@marvin.sko.mh.se) Received: from localhost (myrslok@localhost) by marvin.sko.mh.se (8.11.6p2/8.11.6) with ESMTP id h5DJuZ001520 for ; Fri, 13 Jun 2003 21:56:35 +0200 (CEST) (envelope-from myrslok@marvin.sko.mh.se) Date: Fri, 13 Jun 2003 21:56:35 +0200 (CEST) From: Mats Larsson To: freebsd-questions@freebsd.org Message-ID: <20030613213934.F1454@marvin.sko.mh.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: problems getting groupquota to work on 5.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 19:58:28 -0000 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