Disk quota
Added by Hristo Torbov 12 months ago
Hi, guys!
First of all, I would like to say that your script is AWESOME!!!
Now, I'm making a File Hosting website based on elFinder.
It creates users (folders), but I have a big problem.. I need to make each user (folder) to have limited quota - 5GB.
Is it even possible?
Thanks a lot!
Replies (3)
RE: Disk quota
-
Added by Troex Nevelin 12 months ago
Is it even possible?
In short - yes.
elFinder is itself just a file manager it does not handle quota. Quota should be handled by file system or OS. But you are not limited to implement it in connector, you can modify write functions (paste/upload/duplicate) of connector to check the quota. This shouldn't be hard. There are different ways how you can implement quota, using built-in mechanism of OS would be a better solution.
RE: Disk quota
-
Added by Hristo Torbov 12 months ago
Can you tell me how to limit the new folder's quote in Ubuntu Server (running apache) please?
RE: Disk quota
-
Added by Troex Nevelin 12 months ago
That is not possible to set per folder quota, quota is set per system user. You will need to dig deeper in this topic, there are lots of documentation about quota, but this not related to elFinder. And I personally never tried it.
(1-3/3)