User Quota inside jail?

Miroslav Lachman 000.fbsd at quip.cz
Thu Oct 25 12:22:24 PDT 2007


Anton - Valqk wrote:

> Hello Group,
> 
> I'm wondering if I can set quota inside a jail for user in it.
> 
> For example:
> 
> jail root: /usr/jails/testjail - this is a separate partition mounted
> with quota support
> 
> in the jail I have user:  testuser
> 
> I want to set a quota 1G for him in his home -
> /usr/jails/testjail/home/testuser
> 
> is this possible?
> I was thinking of making edquota from outside the jail and setting it
> from there...
> but I got error the uid dosen't exists....

You can try numerical UID instead of "someusername" from host system 
(outside of jail - I did not test it, so it my or may not work)

Miroslav Lachman


More information about the freebsd-jail mailing list