I have an ubuntu server. With a ext3 formatted filesystem. How can I limit a certain user to only be able to use X MB of disk space?

link|improve this question

79% accept rate
feedback

2 Answers

up vote 6 down vote accepted
sudo apt-get install quota

This link or this link have nice tutorials on how to set up quota.

link|improve this answer
feedback

An alternative for one-off quota needs that does not depend on kernel quota support is to create a disk image and use a loopback mount to access it. This link shows how to do it.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.