One of the fundamental rules that people should follow as programmers is to assume that they are terrible at it, and that means offloading risky stuff to either the language (preferably) or a standard library (if the language doesn’t have built-in support) where possible.

This is what you need to add to the server scope of your pydio host (please correct the paths to the data folder below):

References: