Skip to content

Commit dd0208b

Browse files
committed
Relaxing coin daemon file permissions for usability
1 parent 83ba220 commit dd0208b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

cookbooks/altcointip/metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
maintainer_email 'vindimy@gmail.com'
44
license 'All rights reserved'
55
description 'Installs/Configures altcointip, Reddit altcoin tip bot'
6-
version '0.1.2'
6+
version '0.1.3'
77

88
depends "apache2"
99
depends "database"

cookbooks/altcointip/recipes/default.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@
7575
action coin[:autostart] ? :start : :nothing
7676
end
7777

78+
# Relax file permissions
79+
80+
file "/opt/crypto_coins/#{coin[:name]}/src/#{coin[:name]}d" do
81+
mode '0755'
82+
end
83+
84+
file "#{node[:altcointip][:install_dir]}/coins/#{coin[:name]}/#{coin[:name]}.conf" do
85+
mode '0644'
86+
end
87+
7888
end
7989

8090
end

0 commit comments

Comments
 (0)