bugfix: only root writes empty "success" file