[otrs] Permission problems when accessing SysConfig

Robertino Hermansson robertino.hermansson at gmail.com
Wed Jun 7 14:50:23 CEST 2006


hi list,

Permission problem on a RedHat Enterprise release 4 box,
When I installed otrs I had permission problems with the installer.pl
but did that manually according to the manual.
I installed the release from rpm package.

Now I'm not able to access the SysConfig from the Admin interface,


It gives me this error message.

--

ERROR: OTRS-CGI-10 Perl: 5.8.5 OS: linux Time: Wed Jun  7 13:32:33 2006

Message: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission
denied!

Traceback (16177):
   Module: Kernel::System::Config::WriteDefault (v1.45) Line: 183
   Module: Kernel::Modules::AdminSysConfig::Run (v1.38) Line: 54
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.8) Line: 651
   Module: /opt/otrs/bin/cgi-bin/index.pl (v1.80) Line: 47

--

I've run SetPermissions.sh like this:

[root at xxx bin]# ./SetPermissions.sh /opt/otrs otrs apache apache apache
SetPermissions.sh <$Revision: 1.27 $> - set OTRS file permissions
Copyright (c) 2001-2004 Martin Edenhofer <martin at otrs.org>
Setting file permissions...
chown -R apache:apache /opt/otrs
chmod -R og+rw /opt/otrs
chown otrs:apache /opt/otrs
chown otrs:apache /opt/otrs/.fetchmailrc
chmod 0710 /opt/otrs/.fetchmailrc
chown otrs:apache /opt/otrs/.procmailrc
chmod 0644 /opt/otrs/.procmailrc
chown otrs:apache /opt/otrs/.mailfilter
chmod 0600 /opt/otrs/.mailfilter
chown -R otrs:apache /opt/otrs/var/
chown -R apache:apache /opt/otrs/var/sessions/
touch && chown otrs:apache /opt/otrs/var/log/TicketCounter.log
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

Since httpd runs as user/group apache.

Even tried to chmod 777 the whole directory tree
(opt/otrs/Kernel/Config/Files)


Anyone that could help me with a solution?

--Robertino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.otrs.org/pipermail/otrs/attachments/20060607/b2c7eba8/attachment.html


More information about the otrs mailing list