]> git.openstreetmap.org Git - chef.git/commitdiff
Fix permissions handling replies to OTRS messages
authorTom Hughes <tom@compton.nu>
Thu, 2 Oct 2014 21:44:51 +0000 (22:44 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 2 Oct 2014 21:44:51 +0000 (22:44 +0100)
roles/otrs.rb

index 769a126672c4529b1a8b144ae4b8860667ff211a..2ace4f9ef884116f89956fcc34dcc43b3b7ceb2d 100644 (file)
@@ -16,6 +16,7 @@ default_attributes(
         :local_parts => [ "otrs" ],
         :command => "/opt/otrs/bin/otrs.PostMaster.pl",
         :user => "otrs",
+        :group => "www-data",
         :home_directory => "/opt/otrs"
       },
       :otrs_data => {
@@ -24,6 +25,7 @@ default_attributes(
         :local_parts => [ "data" ],
         :command => "/opt/otrs/bin/otrs.PostMaster.pl -q 'Data Working Group'",
         :user => "otrs",
+        :group => "www-data",
         :home_directory => "/opt/otrs"
       },
       :otrs_support => {
@@ -32,6 +34,7 @@ default_attributes(
         :local_parts => [ "support" ],
         :command => "/opt/otrs/bin/otrs.PostMaster.pl -q 'Technical Support'",
         :user => "otrs",
+        :group => "www-data",
         :home_directory => "/opt/otrs"
       }
     }