Skip to content

Commit

Permalink
[nodejs]: added --no-same-owner option for untarring.
Browse files Browse the repository at this point in the history
This avoids warnings on NFS-mounted filesystem.
  • Loading branch information
gmiroshnykov committed Jan 22, 2012
1 parent 0c91f19 commit fd993b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nodejs/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd993b8

Please sign in to comment.