code: function chmod(p, mode) {
      mode = mode || 0777;
      if (!fs.existsSync(p)) {
          return true;
      }
      return fs.chmodSync(p, mode);
  }
docs: Modify the permissions of the file or folder p.
  Synchronous mode
  @param {string} p
  @param {number} mode
  @returns {*}