Permalink
Browse files

[nodejs]: added --no-same-owner option for untarring.

This avoids warnings on NFS-mounted filesystem.
  • Loading branch information...
laggyluke committed Jan 22, 2012
1 parent 77b9d9c commit d1c1256509b395c3577906b09c2afeaf34029cbe
Showing with 3 additions and 1 deletion.
  1. +3 −1 recipes/default.rb
View
@@ -40,7 +40,9 @@
mode 0644
end
-execute "tar zxf #{nodejs_tar}" do
+# --no-same-owner required overcome "Cannot change ownership" bug
+# on NFS-mounted filesystem
+execute "tar --no-same-owner -zxf #{nodejs_tar}" do
cwd "/usr/local/src"
creates "/usr/local/src/node-v#{node[:nodejs][:version]}"
end

0 comments on commit d1c1256

Please sign in to comment.