From 314d6cce723558497165103658cbf013f1eb8e9a Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 24 Dec 2013 01:09:41 -0800 Subject: ensure permissions are preserved when copying customization files. closes #4623 --- config/initializers/customization.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/initializers') diff --git a/config/initializers/customization.rb b/config/initializers/customization.rb index bc9c834..76a2947 100644 --- a/config/initializers/customization.rb +++ b/config/initializers/customization.rb @@ -27,7 +27,7 @@ Rails.application.config.assets.paths.unshift "#{customization_directory}/styles # if !defined?(RAKE) && Dir.exists?("#{customization_directory}/public") require 'fileutils' - FileUtils.cp_r("#{customization_directory}/public/.", "#{Rails.root}/public") + FileUtils.cp_r("#{customization_directory}/public/.", "#{Rails.root}/public", :preserve => true) end # -- cgit v1.2.3