dont remove $cache_dir as it may be a mount point