Fixed bug in set_acls (@check_path was missing)