Usually, quotas are enforced per user, as related to the proprietary of the file.
Is it possible to apply a quota on a folder basis, in such a way, that a folder contents are limited in disk space?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Same question asked and answered over here:
basically, make a virtual filesystem by filling a file with zeros to the size you want, then create a filesystem in that file and then loopmount it to the directory you want to limit.
Linux Quartly article about it here: http://www.linuxquestions.org/questions/linux-server-73/directory-quota-601140/
Tutorial here: http://souptonuts.sourceforge.net/quota_tutorial.html