Quota per directory

Simo Sorce ssorce at redhat.com
Thu Mar 22 17:14:25 UTC 2007


On Thu, 2007-03-22 at 13:01 -0400, Simo Sorce wrote:

> projects: a, b, c
> 
> if ((quota(a) + quota(b) + quota(c)) < totaldiskspace) {

that was a '>' of course not a '<' :-(

> 	broken(idea);
> 	exit;
> }
> 
> :-)
> 
> Also broken if you have > 10-20 projects, becomes unmanageable.
> 
> 
> But there is another possible way, use ACLs, and set by default the
> group owner of all files under the project head directory to a specific
> group matched to the project (you want to do that anyway to give rw to
> the group), then set a group quotas.
> 
> 
> Simo.
> 




More information about the fedora-devel-list mailing list