Permalink
Browse files

Close #1128 Use -o instead of --no-same-owner

  • Loading branch information...
1 parent 5f791af commit f41a0aa4c48c157c92eb0f032b92d74f042a26ab @isaacs isaacs committed Jul 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/utils/tar.js
View
@@ -166,13 +166,13 @@ function gunzTarPerm (tarball, tmp, dMode, fMode, uid, gid, cb) {
if (!fMode) fMode = FMODE
log.silly([dMode.toString(8), fMode.toString(8)], "gunzTarPerm modes")
//console.error(npm.config.get("gzipbin")+" --decompress --stdout "
- // +tarball+" | "+npm.config.get("tar")+" -mvxpf - --no-same-owner -C "
+ // +tarball+" | "+npm.config.get("tar")+" -mvxpf - -o -C "
// +tmp)
pipe( spawn( npm.config.get("gzipbin")
, ["--decompress", "--stdout", tarball]
, process.env, false )
, spawn( npm.config.get("tar")
- , ["-mvxpf", "-", "--no-same-owner", "-C", tmp]
+ , ["-mvxpf", "-", "-o", "-C", tmp]
, process.env, false )
, function (er) {
// if we're not doing ownership management,

0 comments on commit f41a0aa

Please sign in to comment.