Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-data
-
- Znuny advanced
- Posts: 136
- Joined: 03 Jul 2014, 15:17
- Znuny Version: 5s (Free)
- Real Name: Markus KARG
- Company: ProSeS BDE GmbH
Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-data
I think I have found a bug in OTRS 3.3.8 and like to ask the developers whether they can confirm.
I installed OTRS 3.3.8 on Debian Wheezy using this installation guide.
otrs.SetPermsission.pl sets the owner of ZZZ*Auto.pm to 'otrs'.
But once I am uploading a SysConfig file, the owner of ZZZ*Auto.pm is chaged to 'www-data'.
As a result, otrs.PostMasterMailbox.pl says it has no permissions to access ZZZ*Auto.pm and won't fetch any emails.
So I do SetPermissions again, which certainly fixes that -- until I upload SysConfig.pm again...
Also, it seems as sporadically the ZZZAAuto.pm file is newly written, hence also has user changed from www-data -- as a result, the mail fetcher is unable to proceed (without ANY log note, due to >> NUL in the cron scipt!)
If that is wanted behaviour then I want to kindly ask to write in the manual that after SysConfig.pom is uploaded, one has to login to the console and perform SetPermissions again...!
Thanks
-Markus
I installed OTRS 3.3.8 on Debian Wheezy using this installation guide.
otrs.SetPermsission.pl sets the owner of ZZZ*Auto.pm to 'otrs'.
But once I am uploading a SysConfig file, the owner of ZZZ*Auto.pm is chaged to 'www-data'.
As a result, otrs.PostMasterMailbox.pl says it has no permissions to access ZZZ*Auto.pm and won't fetch any emails.
So I do SetPermissions again, which certainly fixes that -- until I upload SysConfig.pm again...
Also, it seems as sporadically the ZZZAAuto.pm file is newly written, hence also has user changed from www-data -- as a result, the mail fetcher is unable to proceed (without ANY log note, due to >> NUL in the cron scipt!)
If that is wanted behaviour then I want to kindly ask to write in the manual that after SysConfig.pom is uploaded, one has to login to the console and perform SetPermissions again...!
Thanks
-Markus
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
files written by a web server are written as the context/user of the web server.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
your otrs user seems to be created not in the webserver group
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny advanced
- Posts: 136
- Joined: 03 Jul 2014, 15:17
- Znuny Version: 5s (Free)
- Real Name: Markus KARG
- Company: ProSeS BDE GmbH
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
You are right that the OTRS user is not in the web server group. This is because the manual for "installing from source" of OTRS 3.3.8 says so:

Thanks
-Markus
The "script below" printed apparently does NOT add otrs to the www-data group, hence it is simply wrong! Can you please fix that in the docs? I expect that doc bug as the cause for much trouble lots of people mention on the web regarding mail fetch not working properly...If your web server is not running with the same user rights as the new 'otrs' user, which is the case on most systems, you will need to add the new 'otrs' user to the group of the web server user (see Script below).Code: Select all
linux:/opt# useradd -r -d /opt/otrs/ -c 'OTRS user' otrs linux:/opt# usermod -G nogroup otrs

Thanks
-Markus
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
in Install.md it is clearly stated:
Add user to webserver group (if the webserver is not running as the OTRS user):
shell> usermod -G www otrs
(SUSE=www, Red Hat/CentOS/Fedora=apache, Debian/Ubuntu=www-data)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
also,
that's the line (it's not *your* group, but .. )mkarg wrote:linux:/opt# usermod -G nogroup otrs
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny advanced
- Posts: 136
- Joined: 03 Jul 2014, 15:17
- Znuny Version: 5s (Free)
- Real Name: Markus KARG
- Company: ProSeS BDE GmbH
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
Sorry but this is not true for the public documentation linked on the OTRS web site: http://otrs.github.io/doc/manual/admin/ ... -otrs.htmljojo wrote:in Install.md it is clearly stated:
Add user to webserver group (if the webserver is not running as the OTRS user):
shell> usermod -G www otrs
(SUSE=www, Red Hat/CentOS/Fedora=apache, Debian/Ubuntu=www-data)
There it says "nogroup" but not "www"!
Hence, the public web manual is outdated!
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
ok. so submit a Pull Requestyou will need to add the new 'otrs' user to the group of the web server user (see Script below).
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny advanced
- Posts: 136
- Joined: 03 Jul 2014, 15:17
- Znuny Version: 5s (Free)
- Real Name: Markus KARG
- Company: ProSeS BDE GmbH
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
What does this bring? As it was proposed some minutes go, the .md file is already correct. And I do not have access to the web site. So what actually do you want me to provide?crythias wrote:ok. so submit a Pull Requestyou will need to add the new 'otrs' user to the group of the web server user (see Script below).
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
Complain about a problem. Fix it yourself. Contribute to the solution.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny advanced
- Posts: 136
- Joined: 03 Jul 2014, 15:17
- Znuny Version: 5s (Free)
- Real Name: Markus KARG
- Company: ProSeS BDE GmbH
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
You do not understand. I *want* to fix it and contribute the solution, but I don't know *how*, as I am not the administrator of the OTRS github.ui web site, so I cannot upload the fixed file. Within the source code the bug does not exist, as I was told on this forum today. So *how* can I fix it?crythias wrote:Complain about a problem. Fix it yourself. Contribute to the solution.
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
Click the link "Submit a Pull Request"
Click Edit
make changes ...
You may need to create a free github account.
Click Edit
make changes ...
You may need to create a free github account.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny advanced
- Posts: 136
- Joined: 03 Jul 2014, 15:17
- Znuny Version: 5s (Free)
- Real Name: Markus KARG
- Company: ProSeS BDE GmbH
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
Maybe I am blind, but where on that page http://otrs.github.io/doc/manual/admin/ ... -otrs.html do you see a "Submit Pull Request" button (again, I am talking about the OTRS Manual on github.io, not the Install.md file on github.com)?crythias wrote:Click the link "Submit a Pull Request"
Click Edit
make changes ...
You may need to create a free github account.
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
You should send the pull request against the developer repository: https://github.com/OTRS/doc-admin/blob/ ... source.xml
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
The source code for the documentation is the .xml document I've previously linked to.mkarg wrote: where ... do you see Submit Pull Request
http://screencast.com/t/wqjrXcPbF
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny advanced
- Posts: 136
- Joined: 03 Jul 2014, 15:17
- Znuny Version: 5s (Free)
- Real Name: Markus KARG
- Company: ProSeS BDE GmbH
Re: Is this a bug? ZZZ*Auto.pm's user changes otrs -> www-da
This was the missing brick! Okay, corrected and sent pull request.reneeb wrote:You should send the pull request against the developer repository: https://github.com/OTRS/doc-admin/blob/ ... source.xml

Thanks
-Markus
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)