Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We're developing a SaaS application which, among other things, provides space for Mercurial (Hg) repositories. Now, Hg repo is just a directory on a disk and each user is allowed to have as many of them as possible, but the limiting factor here is the amount of disk space allocated based on their subscription (like, 100 Mb for Free plan, 6 Gb for Premium, etc).

What we're trying to do is to have per-directory quotas for one user (which will be the user ASP.NET site will be running under). Is this doable under Windows Server? If it is, can it be done programmatically?

share|improve this question
add comment

1 Answer

Apparently it is possible -- see this blog entry: New feature in Windows Server 2003 R2: directory-level quotas. However this seems to only act on the folder, and not a folder-user pairing, but you may be able to use this in conjunction with the per-user quota (that acts at the volume level) somehow.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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