Skip to content

Commit

Permalink
Relaxing coin daemon file permissions for usability
Browse files Browse the repository at this point in the history
  • Loading branch information
vindimy committed Sep 29, 2013
1 parent 83ba220 commit dd0208b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/altcointip/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
maintainer_email 'vindimy@gmail.com'
license 'All rights reserved'
description 'Installs/Configures altcointip, Reddit altcoin tip bot'
version '0.1.2'
version '0.1.3'

depends "apache2"
depends "database"
Expand Down
10 changes: 10 additions & 0 deletions cookbooks/altcointip/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@
action coin[:autostart] ? :start : :nothing
end

# Relax file permissions

file "/opt/crypto_coins/#{coin[:name]}/src/#{coin[:name]}d" do
mode '0755'
end

file "#{node[:altcointip][:install_dir]}/coins/#{coin[:name]}/#{coin[:name]}.conf" do
mode '0644'
end

end

end
Expand Down

0 comments on commit dd0208b

Please sign in to comment.