permission problems with 6.0.20

Moderator: crythias

Post Reply
froot
Znuny newbie
Posts: 2
Joined: 17 Feb 2020, 11:12
Znuny Version: 6.0.20
Real Name: Fred Meier

permission problems with 6.0.20

Post by froot »

Hi,

we have performed an upgrade from OTRS 5 to 6 on Ubuntu 18.04 LTS. Now we have constant problems with the permissions.

Code: Select all

Can't write '/opt/otrs/var/tmp/CacheFileStorable/CustomerUser2/4/0/40862549c8f8e717687e5f4
2b5e41327': Permission denied
or

Code: Select all

relay=otrs, delay=1.1, delays=0.07/0.01/0/0.97, d
sn=4.3.0, status=deferred (temporary failure. Command output: Can't locate Kernel/Config/Files/ZZZAAuto.pm:   /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied at /opt/otrs/Kernel/Config/Defaul
ts.pm line 1973
we have added the user otrs to the www-data group

Code: Select all

id otrs
uid=1000(otrs) gid=1000(otrs) Gruppen=1000(otrs),33(www-data)
We have set the permissions with otrs.SetPermissions.pl. if the permission of a file is set as owner www-data, then i get the permission denied. what have I done wrong?

best regards

froot
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: permission problems with 6.0.20

Post by root »

Hi,

My first change would be the primary group of the user otrs should be the same like the web server's group (33, www-data). Then rerun otrs.SetPermissions.pl

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
froot
Znuny newbie
Posts: 2
Joined: 17 Feb 2020, 11:12
Znuny Version: 6.0.20
Real Name: Fred Meier

Re: permission problems with 6.0.20

Post by froot »

Thx, it's workling now
Post Reply