Autodef paths permission fix