grunt-contrib-copy icon indicating copy to clipboard operation
grunt-contrib-copy copied to clipboard

"mode" attribute is not working properly

Open fchambo opened this issue 10 years ago • 1 comments

Hi,

I'm trying to copy a couple of files setting execution permissions (using mode attribute), but it seems it is not working. Here is an example: https://gist.github.com/neuquino/cf7e9230d3d9a843ab9e

Is this a bug or I'm doing something wrong?

fchambo avatar Oct 15 '14 17:10 fchambo

copy:{
      options: {
            mode:0755,
      },
      scripts:{
        src:['*'],
        dest:'dest/',
        expand:true,
        cwd:'src/'
      }
    },

zhiyelee avatar Oct 18 '14 15:10 zhiyelee