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

Use grunt.file.copy preservePermissions when released

Open shama opened this issue 12 years ago • 7 comments

https://github.com/gruntjs/grunt/compare/7c4de95b40c3%5E...a278d5bfc46e

shama avatar Oct 08 '13 19:10 shama

Isn't this the same as https://github.com/gruntjs/grunt-contrib-copy/pull/97?

unindented avatar Oct 10 '13 19:10 unindented

@unindented It's a new option added to grunt.file.copy to preserve permissions. We implemented our own here and the implementation is a little different.

shama avatar Oct 11 '13 14:10 shama

@shama What exactly is needed for this issue to go through? I might be able to work on this, so would appreciate it if someone could explain what needs to be done.

michaellopez avatar Oct 30 '13 06:10 michaellopez

(copy for others from https://github.com/gruntjs/grunt-contrib-copy/pull/97#issuecomment-27369081 ) Hey @michaellopez backwards compatibility (current and future) is really important to us, so we really need to be careful how we publish this on npm. Grunt core supposed to get this fix but didn't. The fix is postponed to 0.4.3. You can use the temporary fix that @shama merged 2 months ago by doing:

npm install gruntjs/grunt-contrib-copy --save-dev

If you have time, you can really help us by joining the discussion here: https://github.com/gruntjs/grunt/pull/732 and helping us test this fix. (Also https://github.com/gruntjs/grunt/issues/615, but I think #732 is the one that has a link to the fixed branch) Thanks for understanding and your help!

vladikoff avatar Oct 30 '13 07:10 vladikoff

@vladikoff So if I understand this correctly: in order for this issue to be fixed we have to make gruntjs/grunt#732 land in Grunt core? If so I will try and help out there too.

michaellopez avatar Oct 30 '13 07:10 michaellopez

Anyone working on this? I'd call this less a feature and more a necessity, especially for deploy processes.

dclowd9901 avatar Jan 24 '14 15:01 dclowd9901

@dclowd9901 See the mode option of this task: https://github.com/gruntjs/grunt-contrib-copy#mode

shama avatar Jan 24 '14 16:01 shama