gruntjs - grunt.file write/copy with permissions -


is there way specify permissions of file during grunt.file.copy(...), except using 'fs.chmod' after copy has finished?

i have require whole 'fs' module otherwise, changing permissions. lot of overhead?

grunt.file.copy not provide option that, unfortunately.

but grunt copy task (from grunt-contrib-copy) has option (options.mode, see https://github.com/gruntjs/grunt-contrib-copy#mode).


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -