Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

remote files need to be readable by group admin

  • Loading branch information...
commit 8aab911399154f403a252a2d83952d6344b5f6fd 1 parent 19563d0
Brian Cunnie & Matthew Kocher authored

Showing 1 changed file with 2 additions and 4 deletions. Show diff stats Hide diff stats

  1. +2 4 providers/package.rb
6 providers/package.rb
@@ -25,10 +25,6 @@ def load_current_resource
25 25 @dmgpkg.installed(installed)
26 26 end
27 27
28   -def shell_escape(str)
29   - Regexp.escape(str)
30   -end
31   -
32 28 action :install do
33 29 unless @dmgpkg.installed
34 30
@@ -51,6 +47,8 @@ def shell_escape(str)
51 47 remote_file dmg_file do
52 48 source new_resource.source
53 49 checksum new_resource.checksum if new_resource.checksum
  50 + group "admin"
  51 + mode 0644
54 52 end
55 53 end
56 54

0 comments on commit 8aab911

Please sign in to comment.
Something went wrong with that request. Please try again.