Gulp - Handle read-only permissions for dest files?
问题 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. I am trying to copy src-to-dest files like this: gulp.task('copy-images', function () { gulp.src(path_resource_images + '**/*.jpg') .pipe(gulp.dest(path_app_images)); }); It works once when the dest folder in empty. But for all next calls I've got an exception that file is read-only in dest folder. How can I remove file attr read-only to make