User Setting Disk Quota

Brizzzer

New member
Joined
Jul 19, 2005
Messages
2
Location
Indianapolis, Indiana
I am a user and I was wondering if I can set a disk quota on a folder or something like that. I want to give a friend a ftp for some of his files and I don't want him getting carried away with the space. Is there a way for me to set a disk quota on a folder?

Thanks, Brizzzer
 
DirectAdmin isn't capable of that. You could write your own small script which would monitor the size of the directory and notify you when it goes over a certain threshold.
 
Thats all personal preference. You can write the script in any language of your choosing.
A shell script using the du system command would probably be the easiest way to do it.
Execute the script however often you want with a cronjob.

It doesn't really matter where you put it depending on how you write the script (i.e. using full or relative paths etc.)
 
Back
Top