lib/splash/config/sanitycheck.rb in prometheus-splash-0.4.0 vs lib/splash/config/sanitycheck.rb in prometheus-splash-0.4.1
- old
+ new
@@ -22,21 +22,21 @@
full_res =+ 1
log.flat " pbm => #{res.map {|p| p.to_s}.join(',')}"
end
target = "PID Path : #{config[:pid_path]}"
- res = verify_folder(name: config[:pid_path], mode: "644", owner: config.user_root, group: config.group_root)
+ res = verify_folder(name: config[:pid_path], mode: "755", owner: config.user_root, group: config.group_root)
if res.empty? then
log.ok target
else
log.ko target
full_res =+ 1
log.flat " pbm => #{res.map {|p| p.to_s}.join(',')}"
end
target = "Trace Path : #{config[:trace_path]}"
- res = verify_folder(name: config[:trace_path], mode: "644", owner: config.user_root, group: config.group_root)
+ res = verify_folder(name: config[:trace_path], mode: "755", owner: config.user_root, group: config.group_root)
if res.empty? then
log.ok target
else
log.ko target
full_res =+ 1