Set is_dir no delete