mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 01:38:24 -05:00
On Windows, FileUtils.cp(path, dest_path) will fail with a Permission Denied if the dest_path already exists and is read-only. People have complained about this since at least 2008. This lets `jekyll build` work without error in Windows when one or more read-only files exist. This change will accommodate users of Team Foundation, which uses the read-only flag for for source control status. (dumb, I know, but but a real problem)