otrs/znuny directory ownership

Moderator: crythias

Locked
beingbaban
Znuny newbie
Posts: 68
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

otrs/znuny directory ownership

Post by beingbaban »

For older version of otrs, we generally run below command to set user and group to www-data
/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=www-data --web-group=www-data

But shouldnt it be user as otrs and group as www-data?

I tried to have both scenarios and otrs is working but just wanted to have expert opinion.

Also, when we restored backup in otrs 5.0.18, owner was otrs and group 48. what does 48 signifies?
beingbaban
Znuny newbie
Posts: 68
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

Re: otrs/znuny directory ownership

Post by beingbaban »

any update?
root
Administrator
Posts: 4249
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: otrs/znuny directory ownership

Post by root »

Hi,
beingbaban wrote: 12 Jun 2024, 09:25 For older version of otrs, we generally run below command to set user and group to www-data
/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=www-data --web-group=www-data

But shouldnt it be user as otrs and group as www-data?
Yes this is what the documentation says and it's recommended.
beingbaban wrote: 12 Jun 2024, 09:25 I tried to have both scenarios and otrs is working but just wanted to have expert opinion.
And? Following the manual might be a good way.
beingbaban wrote: 12 Jun 2024, 09:25 Also, when we restored backup in otrs 5.0.18, owner was otrs and group 48. what does 48 signifies?
48 is the group id of a groups that is on the system missing

- Roy

P.S.: You should not be impatient on a forum that relies on the free time of its users. If it's urgent, you know what to do.
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 ?
beingbaban
Znuny newbie
Posts: 68
Joined: 20 Sep 2022, 13:59
Znuny Version: Znuny 6.5 LTS
Real Name: BP Singh

Re: otrs/znuny directory ownership

Post by beingbaban »

haha, thanks Roy.
Locked