title: When I run gulp command my file loses permission
body: <p>I'm using Ubuntu and it's work fine but when I run the gulp command I got a problem. The file was created but Gulp changes the file permissions and the browser can't read the file. So I can't navigate in my project website. =/</p>
  
  <p><a href="https://i.stack.imgur.com/c1yaF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c1yaF.png" alt="enter image description here"></a></p>
  
  <p>My gulpfile.js</p>
  
  <pre><code>var gulp = require('gulp');
  //~ var gulp = require('gulp-util');
  var sass = require('gulp-sass');
  var concat = require('gulp-concat');
  var uglify = require('gulp-uglify');
  
  var src='./wp-content/themes/wikitricks';
  var scripts=[
              src + '/js/jquery.min.js',
              src + '/js/jquery-ui.js',
              src + '/js/jquery.tooltipster.min.js',
              src + '/js/featherlight.min.js',
              //~ src + '/js/jquery.masonry.min.js',
              src + '/js/masonry.pkgd.min.js',
          ];
  
  gulp.task('js', function() {
  
      return gulp.src(scripts)
          .pipe(concat('all.js'))
          .pipe(uglify())
          .pipe(gulp.dest(src))
  
  });
  
  gulp.task('default', ['js'], function () {
  
      gulp.watch(scripts, ['js']);
  
  });
  </code></pre>