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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -