gruntjs/grunt-contrib-copy — pull request #203 by xavierpriour (2014-11-26 23:22:55+00:00)
Title: Options.mode to set mode on copied directories

Currently the mode option only sets mode on files. Directories are left with default rights regardless of the parameter. It is an issue when copying folder hierarchies with varying rights.

I changed the code so that `options.mode` also impacts destination directories, with same rules (`true` means copy source rights, `0644` means set to specified rights)