I've tried doing that, resulting in this output:
[root@xxx bin]# ./SetPermissions.sh /opt/otrs otrs apache
SetPermissions.sh <$Revision: 1.27 $> - set OTRS file permissions
Copyright (c) 2001-2004 Martin Edenhofer <
martin@otrs.org>
Setting file permissions...
chown -R apache:nogroup /opt/otrs
chown: `apache:nogroup': invalid group
chown: `apache:nogroup': invalid group
chmod -R og+rw /opt/otrs
chown otrs:nogroup /opt/otrs
chown: `otrs:nogroup': invalid group
chown otrs:nogroup /opt/otrs/.fetchmailrc
chown: `otrs:nogroup': invalid group
chmod 0710 /opt/otrs/.fetchmailrc
chown otrs:nogroup /opt/otrs/.procmailrc
chown: `otrs:nogroup': invalid group
chmod 0644 /opt/otrs/.procmailrc
chown otrs:nogroup /opt/otrs/.mailfilter
chown: `otrs:nogroup': invalid group
chmod 0600 /opt/otrs/.mailfilter
chown -R otrs:nogroup /opt/otrs/var/
chown: `otrs:nogroup': invalid group
chown -R apache:nogroup /opt/otrs/var/sessions/
chown: `apache:nogroup': invalid group
touch && chown otrs:nogroup /opt/otrs/var/log/TicketCounter.log
chown: `otrs:nogroup': invalid group
chmod -R 775 /opt/otrs/bin/
(chown && chmod 700) otrs:0 /opt/otrs/bin/DeleteSessionIDs.pl
(chown && chmod 700) otrs:0 /opt/otrs/bin/UnlockTickets.pl
(chown && chmod 700) otrs:0 /opt/otrs/bin/otrs.getConfig
Second one is a good question :)
I don't really know, just followed the 'INSTALL' file I guess.
'' Webserver with apache user (e. g. Redhat): "SetPermissions.sh /opt/otrs otrs apache apache apache" ''
Also the otrs user is in the apache group and otrs group
and apache belongs to the otrs group.
I have a different OTRS installation on another machine (Fedora Core 3)
where httpd runs as the otrs group/user
and that is working fine. But that's just a test installation in lab environment.
More idéas?
--Robertino