Permalink
Browse files

Default mode should not be world-writable for dirs

  • Loading branch information...
1 parent a483668 commit 2a6271a34d7075dcc1fdf5e06485127a98601041 @isaacs isaacs committed Feb 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cache.js
View
@@ -52,7 +52,7 @@ var mkdir = require("./utils/mkdir-p")
, uidNumber = require("./utils/uid-number")
var FMODE = 0644
- , DMODE = 0777
+ , DMODE = 0755
cache.usage = "npm cache add <tarball file>"
+ "\nnpm cache add <folder>"

0 comments on commit 2a6271a

Please sign in to comment.