grunt
grunt copied to clipboard
Support for setting preserving and setting permissions of files copied with grunt.file.copy
When copying a file with grunt.file.copy, permissions are not preserved.
In addition, no option is provided to explicitly set permissions of the copied file.
A configuration option for one or both of these would be useful, for instance, when copying a shell script that must be executable.
Is this still an open issue? I want to be able to run my grunt copy task and keep the file permissions for executables.
I fixed it in this pull request
What's holding this back? Undesirable defaults? Undesirable test strategy? Anything we can help with?
@sheldonh Thanks for the offer for help. It's likely something we should handle in the next version of Grunt to make it available to all tasks. We have the PR left open here gruntjs/grunt#732 and will review. Thank you for that PR @regular!
This is moved to Milestone 0.4.3, sadly not enough time to test this with 0.4.2 properly.
In Grunt 0.4 the suggestion is to use https://github.com/JamesMGreene/grunt-chmod to do this. Pushing issue to 0.5.0
really? No one cares about this?