PDA

View Full Version : Directory size



fedorafan2
7th September 2006, 01:40 AM
Is there a way to make it so users can only put say 500mb of stuff into their home dir. For web hosting.

Jman
7th September 2006, 04:35 AM
Yes. It's called quotas (http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/ch-disk-quotas.html).

beachbum
7th September 2006, 04:35 AM
I believe you can enable quotas per mount. Take a look at the man pages for quota.

fedorafan2
7th September 2006, 04:57 AM
Is there an eaiser way all I want ot do is set a max directory size. For a single folder.

Jman
10th September 2006, 12:23 AM
Not that I know of. Unless each were mounted partitions of only 500 MB. Which seems harder.