permission problems with 6.0.20

Moderator: crythias

Post Reply
froot
OTRS newbie
Posts: 2
Joined: 17 Feb 2020, 11:12
OTRS 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
Moderator
Posts: 2222
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
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
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

froot
OTRS newbie
Posts: 2
Joined: 17 Feb 2020, 11:12
OTRS 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