From owner-freebsd-isp Fri May 26 16:10:54 2000 Delivered-To: freebsd-isp@freebsd.org Received: from ritchie.loop.com (ritchie.loop.com [207.211.60.70]) by hub.freebsd.org (Postfix) with ESMTP id 6F17B37B95D for ; Fri, 26 May 2000 16:10:43 -0700 (PDT) (envelope-from dwplists@loop.com) Received: from Elektra.loop.com (elektra.loop.com [207.211.60.33]) by ritchie.loop.com (8.9.3/8.9.3) with SMTP id QAA56549 for ; Fri, 26 May 2000 16:10:37 -0700 (PDT) Message-ID: <00c601bfc767$db71f220$213cd3cf@loop.com> From: "D. W. Piper" To: References: <00bb01bfc1ab$b141a160$213cd3cf@loop.com> <20000519121531.A73613@setzer.chocobo.cx> <015c01bfc65c$568c7640$213cd3cf@loop.com> Subject: Confused about group quotas Date: Fri, 26 May 2000 16:12:14 -0700 Organization: The Loop Internet MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi All :) In preparation for revamping a webhosting product, I've been trying to test user and group quotas, and have found a strange thing which I don't understand. I'm hoping someone can either explain it or point out where I went wrong: 1) I added the "option QUOTA" line and recompiled the kernel; 2) I added the userquota and groupquota options for the /usr partition in fstab; 3) I set the enable_quota="YES" option in rc.conf; 4) I rebooted the machine; 5) I created the group "testgrp", and user "testuser" in that group; 6) I created the directory /usr/home/testuser owned by that user and group; 6) I used edquota -g testgrp to set a hard limit of 5; 7) I logged in as testuser, and was able to copy a file into the directory that exceeded the limit by 141 blocks I got no complaints of any kind while copying the file about quota limits, it did not prevent me from exceeding the limit (as it did when I was testing user quotas) but did flag the exceeded limit when I did quota -g testgrp: Disk quotas for group testgrp (gid xxxx): Filesystem blocks quota limit grace files quota limit grace /usr 146* 0 5 none 3 0 0 Anyone know what I'm doing wrong? TIA, - David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message