Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2007 21:24:01 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Anton - Valqk <lists@lozenetz.org>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: User Quota inside jail?
Message-ID:  <4720ED51.5030501@quip.cz>
In-Reply-To: <47209044.3080307@lozenetz.org>
References:  <47209044.3080307@lozenetz.org>

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



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