[rt-users] Execute my perl from command line

Ian Pellew ipellew at yahoo.com
Tue Apr 20 04:05:29 EDT 2010

What is the prefered way to execute my RT perl script(s) from the command line ?

If I do something like:-
perl -I../lib -e 'use RT; RT::LoadConfig(); print RT::DatabaseType;'
It, probably correctly, fails with permission problems:-
RT couldn't load RT config file /usr/local/Rt/rt-3.8.7/etc/RT_Config.pm as:
    user:  someuser
    group: staff
The file is owned by user root and group www.

Same using sudo.



More information about the rt-users mailing list