From owner-freebsd-questions@FreeBSD.ORG Fri Mar 17 05:49:37 2006 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 6EE6616A420 for ; Fri, 17 Mar 2006 05:49:37 +0000 (UTC) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (manor.msen.com [148.59.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 016BB43D4C for ; Fri, 17 Mar 2006 05:49:36 +0000 (GMT) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (localhost [127.0.0.1]) by manor.msen.com (8.12.9p2/8.12.9) with ESMTP id k2H5nZc1097737 for ; Fri, 17 Mar 2006 00:49:35 -0500 (EST) (envelope-from wayne@manor.msen.com) Received: (from wayne@localhost) by manor.msen.com (8.12.9p2/8.12.9/Submit) id k2H5nZ89097736 for freebsd-questions@freebsd.org; Fri, 17 Mar 2006 00:49:35 -0500 (EST) (envelope-from wayne) Date: Fri, 17 Mar 2006 00:49:35 -0500 From: "Michael R. Wayne" To: freebsd-questions@freebsd.org Message-ID: <20060317054935.GJ71757@manor.msen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: 6.1 breaks the quota command in jails? 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: Fri, 17 Mar 2006 05:49:37 -0000 I'm used to using the hack where one has a named quota file in the host system's /etc/fstab and a (properly trimmed) link to the same file in the jail's /etc/fstab with noauto. But, on 6.1, the quota command is unable to work properly in the jailed environment for non-root users: wayne@host 1009> quota Disk quotas for user wayne (uid 5147): Filesystem usage quota limit grace files quota limit grace /usr/jails/jail3 34348 40000 45000 777 0 0 wayne@jail3 419> quota quota: /usr/quotas/shell.root: Permission denied Disk quotas for user wayne (uid 5147): none wayne@jail3 420> sudo quota wayne Disk quotas for user wayne (uid 5147): Filesystem usage quota limit grace files quota limit grace / 34348 40000 45000 777 0 0 I know this worked on 4.x, is there any workaround available? /\/\ \/\/