Try to disable selinux maybe. Don't know if this also secures the /tmp dir.

edit /etc/selinux/config set:

SELINUX=disabled

save.... either reboot or: echo 0 > /selinux/enforce

try if that works.




Mikey van der Worp

System Engineer

 

Utelisys Communications B.V.

Trinity Buildings

Tower A, 7th floor

Pietersbergweg 15

1105 BM Amsterdam

 

M         +31 (0) 62 942 2052

T          +31 (0) 20 561 8010

F          +31 (0) 20 561 8021

 

LinkedIn - Facebook

 

www.utelisys.comhttps://www.utelisys.com/


On 05/26/2016 02:13 PM, Juan Manuel Clavero Almirón wrote:

thank you for your answer but, as I said before, both users ‘otrs’ and ‘apache’ can write a file in that location via the command line.

 

Any other idea?

 

Kind regards,

Juan Clavero

 

De: Leonardo Certuche [mailto:leonardo.certuche@itconsultores.com.co]
Enviado el: miércoles, 25 de mayo de 2016 14:26
Para: User questions and discussions about OTRS. <otrs@otrs.org>
Asunto: Re: [otrs] can't write temp files on CentOS

 

Hello

 

Probably "Step 7: File Permissions" from https://otrs.github.io/doc/manual/admin/4.0/en/html/manual-installation-of-otrs.html can help you solve your issue