Nach der Installation habe ich versucht die Index.pl aufzurufen und folgende Fehlermeldung erhalten:
Fehlermeldung: Can't create directory '/opt/otrs/var/tmp/CacheFileStorable': Permission denied
Der User wird eigentlich von OTRS selbst erstellt (Zumindest wenn ich "OTRS via Yum install" installiere) und der apache gruppe wurde otrs zugeordnet
Code: Select all
$ useradd -d /opt/otrs/ -c ’OTRS user’ otrs
$ usermod -G apache otrs
Code: Select all
[root@testsystem bin]# ./otrs.SetPermissions.pl /opt/otrs --otrs-user=otrs --otrs-group=apache --web-user=apache --web-group=apache
bin/otrs.SetPermissions.pl - set OTRS file permissions
Copyright (C) 2001-2013 xxx, http://otrs.com/
Setting permissions on /opt/otrs
Setting permissions on /opt/otrs/var
Setting permissions on /opt/otrs/bin/*
Setting permissions on /opt/otrs/scripts/
Setting permissions on /opt/otrs/Kernel/Config.pm
Setting owner rw and group ro permissions on /opt/otrs/.procmailrc
Setting owner rw and group ro permissions on /opt/otrs/.fetchmailrc
[root@testsystem bin]#