Date: Fri, 26 May 2000 16:12:14 -0700 From: "D. W. Piper" <dwplists@loop.com> To: <freebsd-isp@FreeBSD.ORG> Subject: Confused about group quotas Message-ID: <00c601bfc767$db71f220$213cd3cf@loop.com> References: <Pine.BSF.4.21.0005180103250.1136-100000@sasami.jurai.net> <00bb01bfc1ab$b141a160$213cd3cf@loop.com> <20000519121531.A73613@setzer.chocobo.cx> <015c01bfc65c$568c7640$213cd3cf@loop.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c601bfc767$db71f220$213cd3cf>