First trying the legacy path and then using the new one works fine now, but the permissions are still wrong.