6.1 breaks the quota command in jails?

Michael R. Wayne wayne at staff.msen.com
Fri Mar 17 05:49:37 UTC 2006


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 at 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 at jail3 419> quota
quota: /usr/quotas/shell.root: Permission denied
Disk quotas for user wayne (uid 5147): none

wayne at 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?

/\/\ \/\/


More information about the freebsd-questions mailing list