Wrong permission after cronjob by ZZZAAuto.pm &ZZZAuto.pm

Moderator: crythias

Locked
DerMatze
Znuny newbie
Posts: 38
Joined: 19 Dec 2010, 15:25
Znuny Version: 3.0.4

Wrong permission after cronjob by ZZZAAuto.pm &ZZZAuto.pm

Post by DerMatze »

Hello,

i have manually new installed OTRS 3.3.4 on my debian server.

after a cronjob the two files ZZZAAuto.pm & ZZZAuto.pm have wrong permissions

Code: Select all

-rw-rw---- 1 otrs     www-data 296K Jan 17 06:41 Framework.xml
-rw-rw---- 1 otrs     www-data  21K Jan 17 06:41 GenericInterface.xml
-rw-rw---- 1 otrs     www-data  17K Jan 17 06:41 ProcessManagement.xml
-rw-rw---- 1 otrs     www-data 4.1K Jan 17 06:41 Scheduler.xml
-rw-rw---- 1 otrs     www-data 7.5K Jan 29 22:18 Support.xml
-rw-rw---- 1 otrs     www-data 508K Jan 17 06:41 Ticket.xml
-rw-rw---- 1 www-data www-data 175K Jan 30 01:10 ZZZAAuto.pm
-rw-rw---- 1 www-data www-data 2.1K Jan 30 01:10 ZZZAuto.pm
The "otrs.SetPermission" dosn't fix that problem, then i set the permission manually and give the access to "otrs:www-data", too.. than works fine, but anyone change the permission

I am confused :(
Greetz,
Matze

Blog: http://www.dermatze.net

OTRS 3.3.7 (public) on Linux with MySQL database
reneeb
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: Wrong permission after cronjob by ZZZAAuto.pm &ZZZAuto.p

Post by reneeb »

Run your cronjobs as user "otrs"
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
DerMatze
Znuny newbie
Posts: 38
Joined: 19 Dec 2010, 15:25
Znuny Version: 3.0.4

Re: Wrong permission after cronjob by ZZZAAuto.pm &ZZZAuto.p

Post by DerMatze »

the cronjobs run as user "otrs"
Greetz,
Matze

Blog: http://www.dermatze.net

OTRS 3.3.7 (public) on Linux with MySQL database
Locked