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

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

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -