Can I set storage space quotas/limits using the Linux/Unix file system?
While mod_dav itself doesn’t have the capability to support a traditional quota system, you can have apache run under each user’s account, thereby supporting it. Note that this requires apache to run as root, so think again before you do it. Well, first of all, you’ll need to recompile apache with -DBIG_SECURITY_HOLE flag set in CFLAGS. This will allow you to run apache as root, so it can later submit seteuid(2) call using authorization result. # As the name implies, this can lead to serious problem, but # I guess you can accept the risk. After recompilation is done, you have to decide how you want username (taken from web-based auth) to be mapped to uid on your system. If you just want username to be mapped to uid based on /etc/passwd, you should be OK just by installing mod_become available from http://www.snert.com/Software/Become/ If not, you’d have to write your own apache module, so apache will submit seteuid(2) call for proper uid mapped from given username. This itself is trivi