lib/splash/config/setup.rb in prometheus-splash-0.4.1 vs lib/splash/config/setup.rb in prometheus-splash-0.4.2
- old
+ new
@@ -36,18 +36,18 @@
full_res =+ 1
log.ko target
end
target = "Creating/Checking pid file path : #{config[:pid_path]}"
- if make_folder path: config[:pid_path], mode: "644", owner: config.user_root, group: config.group_root then
+ if make_folder path: config[:pid_path], mode: "755", owner: config.user_root, group: config.group_root then
log.ok target
else
full_res =+ 1
log.ko target
end
target = "Creating/Checking trace file path : #{config[:trace_path]} : "
- if make_folder path: config[:trace_path], mode: "644", owner: config.user_root, group: config.group_root then
+ if make_folder path: config[:trace_path], mode: "755", owner: config.user_root, group: config.group_root then
log.ok target
else
full_res =+ 1
log.ko target
end