[fix] Secure directories of install in custom path