I set up the local file storage by setting up the variable storage.local-disk.path to /home/files. After randomly uploading and deleting all files, I still have a folder structure which I do not understand.
... |–– db | |–– 43 |–– df | |–– 25 |–– e5 | |–– fd |–– e6 | |–– 5d |–– eb | |–– 63 |–– f6 | |–– 6b |–– f7 | |–– 63 | |–– a8 ...
All of these folders are empty (or are containing one subfolder which is empty).
- Where do these folder names come from?
- Why are they not deleted when the files are deleted in the webinterface?
- Can I delete the empty folders without damage?
This folder got confusing very fast...
Why do you need to understand this, and what are you attempting to do. Generally it's not a good use of upstream time to explain the underpinnings of Phabricator unless you are another Phabricator developer.
What I would like to understand is why the directory for the local file storage is cluttered so fast with empty directories and especially why the empty folders are not removed.
In general, I prefer to keep directories as clean as possible.
https://secure.phabricator.com/book/phabricator/article/configuring_file_storage/ gives some insight into how Phabricator stores files.