Article Storage switch - Web Server user

Moderator: crythias

Post Reply
ThomasPL10
OTRS expert
Posts: 88
Joined: 11 Feb 2014, 17:24
OTRS Version?: 3.3.2

Article Storage switch - Web Server user

Post by ThomasPL10 » 24 Apr 2018, 22:41

Hello all

I'm planning migrate all attachments from DB to FS in my OTRS 5.
I found the information that "Your web server should run under the 'otrs' user.".
My Apache web server runs under www-data user. I did some testing in my lab and after storage switch the migrated attachments are still there visible and accessible even without changing the user for the webserver. Is it more like that some issues might be noticable in future if I would not change the user who runs the webserver?

I'd like to also ask whether for standard implementation with apache would it be enough to modify
/etc/apache2/envvars with

Code: Select all

#export APACHE_RUN_USER=www-data
export APACHE_RUN_USER=otrs
#export APACHE_RUN_GROUP=www-data
export APACHE_RUN_GROUP=otrs
or maybe there are some additional steps which should be covered?

Thank you in advance for all your tips.

Post Reply