Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Restrict permissions of the upload directory
Browse files Browse the repository at this point in the history
Set the provisioning_path dir mode so that it is not world-readable.
Fixes #1.
  • Loading branch information
tmatilai committed Apr 4, 2013
1 parent 5c734a1 commit d966abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/knife/solo_cook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def provisioning_path
end

def sync_kitchen
run_portable_mkdir_p(provisioning_path)
run_portable_mkdir_p(provisioning_path, '0700')

cookbook_paths.each do |path|
upload(path, provisioning_path)
Expand Down

0 comments on commit d966abe

Please sign in to comment.