sous-chefs / confluence

Development repository for the confluence cookbook
https://supermarket.chef.io/cookbooks/confluence
Other
43 stars 46 forks source link

Just a question on file ownership #144

Closed rylectro closed 7 years ago

rylectro commented 7 years ago

Is ownership not important on the install_path directories and files?

I see they are mostly root:root except a select few modified in the configuration.rb.

legal90 commented 7 years ago

Hi @rylectro, According to these recommendations, there are only 3 sub-dirs in the install_path, which should be writable for confluence user:

rylectro commented 7 years ago

Perfect thanks! In case anyone wants this

%w[ /logs /temp /work ].each do |path| directory File.join(node['confluence']['install_path'],"#{path}") do owner node['confluence']['user'] mode '0755' end

legal90 commented 7 years ago

Yeah, correct :) https://github.com/parallels-cookbooks/confluence/blob/7ecb3d8/recipes/linux_standalone.rb#L50-L57

rylectro commented 7 years ago

++

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.