From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 18:20:19 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3CD1B16A41F for ; Sun, 4 Dec 2005 18:20:19 +0000 (GMT) (envelope-from edwincheese@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C67D43D62 for ; Sun, 4 Dec 2005 18:20:18 +0000 (GMT) (envelope-from edwincheese@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so1357113wri for ; Sun, 04 Dec 2005 10:20:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JuGhRuuxbLWVHQMznXZow5YZxLuptKw+cL59zl9KeP51yLHZQEsmh6ns3PwBHEJP5B0xpgYt73k2bTCtoaY2V9ymiZllEr4mX2GiOtFRWzR9ZM5I0JHxBoxs4QefC1bB8K2DUQcdDASCb1d6CKRu9VjIwYxsm8iZV/IZi8bX42g= Received: by 10.54.147.1 with SMTP id u1mr2621462wrd; Sun, 04 Dec 2005 10:20:17 -0800 (PST) Received: by 10.54.134.1 with HTTP; Sun, 4 Dec 2005 10:20:17 -0800 (PST) Message-ID: <3593bee50512041020t1c56f036v62669aa094fa4866@mail.gmail.com> Date: Mon, 5 Dec 2005 02:20:17 +0800 From: Edwin To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Questions on disk quota X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 18:20:19 -0000 Hi I am using FreeBSD 6.0 Release. I have enabled disk quota in kernel, things look fine but I have some questions: 1. The quota information seems static. It does not update immediately according to user's disk usage. Is it normal? 2. I found that those quota files are not accessible by non-privileged user, but normal user should be able to use /usr/bin/quota to check their own disk quota. In default installation, /usr/bin/quota is own by root:wheel and have the permission of 555. My solution is chown to root:operator and make it sgid. I wonder why the default doesn't allow normal user to access the quota information. Thank you very much Edwin