Permalink
Browse files

Fix write permissions

  • Loading branch information...
1 parent 54ee1b2 commit 33ec33c84dae68803d8e562e07accfa40448bf1d @chriso chriso committed Nov 24, 2011
Showing with 4 additions and 3 deletions.
  1. +2 −1 HISTORY.md
  2. +1 −1 lib/node.io/io.js
  3. +1 −1 package.json
View
@@ -1,5 +1,6 @@
-### v0.4.2
+### v0.4.3
* Bug fix for nested getHtml
+ * Bug fix for write permissions
### v0.4.1
* node v0.6 support
View
@@ -383,7 +383,7 @@ Job.prototype.write = function (file, data, callback) {
//Cache FD's
if (typeof this.output_streams[file] === 'undefined') {
- var write_mode = {flags: 'w', mode: 666, encoding: this.options.encoding};
+ var write_mode = {flags: 'w', mode: 0644, encoding: this.options.encoding};
this.output_streams[file] = fs.createWriteStream(file, write_mode);
this.output_streams[file].on('error', self.exit);
}
View
@@ -1,6 +1,6 @@
{ "name" : "node.io",
"description" : "A distributed data scraping and processing framework",
- "version" : "0.4.2",
+ "version" : "0.4.3",
"homepage" : "http://github.com/chriso/node.io",
"keywords" : ["data","mapreduce","map","reduce","scraping","html","parsing","parse","scrape","process","processing","data"],
"author" : "Chris O'Hara <cohara87@gmail.com>",

0 comments on commit 33ec33c

Please sign in to comment.