Permalink
Browse files

remote files need to be readable by group admin

  • Loading branch information...
1 parent 19563d0 commit 8aab911399154f403a252a2d83952d6344b5f6fd Brian Cunnie & Matthew Kocher committed Sep 12, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 providers/package.rb
View
6 providers/package.rb
@@ -25,10 +25,6 @@ def load_current_resource
@dmgpkg.installed(installed)
end
-def shell_escape(str)
- Regexp.escape(str)
-end
-
action :install do
unless @dmgpkg.installed
@@ -51,6 +47,8 @@ def shell_escape(str)
remote_file dmg_file do
source new_resource.source
checksum new_resource.checksum if new_resource.checksum
+ group "admin"
+ mode 0644
end
end

0 comments on commit 8aab911

Please sign in to comment.