I have image files with read-only attribute set in source folder. I need to copy them to destination folder in most cases several times in gulpfile.js.
read-only
By passing options attribute. Set mode value to specify permission for any folders that need to be created as output.
mode
gulp.dest("destination-path-here", {"mode": "0777"})
cheers :-)