Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2006 00:49:35 -0500
From:      "Michael R. Wayne" <wayne@staff.msen.com>
To:        freebsd-questions@freebsd.org
Subject:   6.1 breaks the quota command in jails?
Message-ID:  <20060317054935.GJ71757@manor.msen.com>

next in thread | raw e-mail | index | archive | help
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?

/\/\ \/\/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060317054935.GJ71757>