code: function chmod(p, mode) {
    try {
      fs.chmodSync(p, mode);
      return true;
    } catch (e) {
      return false;
    }
  }
docs: change path mode
  @param  {String} p    [path]
  @param  {String} mode [path mode]
  @return {Boolean}      []