嘿,我想在带有linux的apache hey服务器上安装otrs。我用otrs web安装程序创建了一个新的数据库,但随后我得到了消息:Can't open file /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm.20881: Permission denied。

发布于 2015-10-27 12:33:09
问题是apache服务器对这个文件没有权限。
解决方案是使用以下内容启动otrs权限脚本:
cd /opt/otrs/bin
sudo ./otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /opt/otrs发布于 2018-12-21 11:16:11
需要调整文件权限以允许OTRS读取和写入文件:
otrs.SetPermissions.pl [ --otrs-user= OTRS user, defaults to 'otrs' ] { --web-group= group of the web server user }
作为OTRS用户运行的Web服务器:
shell> otrs/bin/otrs.SetPermissions.pl --web-user=otrs
具有www.run用户的user服务器(例如,SUSE):
shell> otrs/bin/otrs.SetPermissions.pl --web-group=wwwrun
带有apache用户的Red服务器(如Red,CentOS):
shell> otrs/bin/otrs.SetPermissions.pl --web-group=apache
带有www-数据用户的www服务器(例如Debian,Ubuntu):
shell> otrs/bin/otrs.SetPermissions.pl --web-group=www-data
https://stackoverflow.com/questions/33365543
复制相似问题