Installation problem - RT under leased box


#1

I don’t have root access to this box I’m installing RT, so I changed the
necessary fields in the Makefile to run under my username and group.

While doing “make install”, I got this:

make install
mkdir -p /u2/home/hermann/rt/bin
mkdir -p /u2/home/hermann/rt/bin/cgi
mkdir -p /u2/home/hermann/rt/etc
cp -p ./etc/config.pm ./etc/mysql.acl /u2/home/hermann/rt/etc
mkdir -p /u2/home/hermann/rt/etc/templates
cp -rp ./etc/templates /u2/home/hermann/rt/etc/templates/…
mkdir -p /u2/home/hermann/rt/transactions
cp -rp ./bin/rtmux.pl /u2/home/hermann/rt/bin/rtmux.pl
/usr/bin/perl -p -i.orig -e “s’!!RT_PATH!!’/u2/home/hermann/rt’g;
s’!!RT_VERSION!!‘1.0.7’g; s’!!RT_ACTION_BIN!!‘rt’g;
s’!!RT_QUERY_BIN!!‘rtq’g; s’!!RT_ADMIN_BIN!!‘rtadmin’g;
s’!!RT_MAILGATE_BIN!!‘rt-mailgate’g; s’!!RT_WEB_QUERY_BIN!!‘webrt.cgi’g;
s’!!RT_WEB_ADMIN_BIN!!‘admin-webrt.cgi’g;
s’!!RT_ETC_PATH!!’/u2/home/hermann/rt/etc’g;
s’!!RT_LIB_PATH!!’/u2/home/hermann/rt/lib’g;”
/u2/home/hermann/rt/bin/rtmux.pl
mkdir -p /u2/home/hermann/rt/lib
cp -rp ./lib/* /u2/home/hermann/rt/lib
cp: /u2/home/hermann/rt/lib/rt/database.pm: Permission denied
*** Error code 1

Stop in /usr/home/hermann/download/rt.

Any clues??? TIA

Hermann

(below are some directory listings…)

ls -la /u2/home/hermann/rt/lib/rt/database.pm:
-r-xr-xr-x 1 hermann users 18184 Oct 1 1999 /u2/home/hermann/rt/lib/rt/database.pm

Makefile:
RTUSER = hermann
RTGROUP = users
RT_PATH = /u2/home/hermann/rt

cd /u2/home/hermann/rt/
ls -la
total 16
drwxr-xr-x 6 hermann users 512 Mar 30 17:37 .
drwxr-xr-x 27 hermann users 3072 Mar 30 17:58 …
drwxr-xr-x 3 hermann users 512 Mar 30 17:48 bin
drwxr-xr-x 3 hermann users 512 Mar 30 17:37 etc
drwxr-xr-x 5 hermann users 512 Mar 30 17:37 lib
drwxr-xr-x 2 hermann users 512 Mar 30 17:37 transactions

cd lib/
ls -la
total 10
drwxr-xr-x 5 hermann users 512 Mar 30 17:37 .
drwxr-xr-x 6 hermann users 512 Mar 30 17:37 …
drwxr-xr-x 2 hermann users 512 Jan 18 03:19 generic_templates
drwxr-xr-x 2 hermann users 512 Jan 18 03:19 images
drwxr-xr-x 5 hermann users 512 Jan 18 03:19 rt


#2

Search the MakeFile for the word root and replace it with your given user name - you’ll find there’s
a couple of chown commands later in the file that need editing.

Kevin Golding