rodjek / librarian-puppet

http://librarian-puppet.com
MIT License
693 stars 209 forks source link

Windows FileUtils.cp_r fix #264

Closed johnduhart closed 9 years ago

johnduhart commented 9 years ago

The use of :preserve can cause permission problems on Windows. This commit simply adds the Errno::EACCES exception to the rescue statement to recover from it.

carlossg commented 9 years ago

Thanks, have you tried the new rsync option in 2.0.0? https://github.com/rodjek/librarian-puppet#rsync-option