FINALLY!
Progress. I did a small little scan through all my perl include dirs, and I
found quite a few modules that are not readable by everyone. (Some required
modules by RT had one or two non-readable files, such as
x/auto/i386-bsd/auto/HTML/blah/blah)…
Based on multiple .pm depending on various others, this is more than likely
my problem.
After resetting and fixing all the permissions of all the files everyone
could not read, my problem vanished. I’m not sure if perl can do this, I
had a look just now, I couldn’t see a option for it… but,
If possible, won’t it be advisable to perhaps add debug in a fashion that
perl reports more error information on pm files as well? I.e. show me which
use / require failed to load - even if it is used in another perl module??
(If this even makes sense).
Right, now, all my permissions for perl are sorted out. ls -lR | less and a
/— indicated that there are no files that are not readable by everyone.
As such, RT now finds all the relevant required files that perl needs, and
they are all happy.
And… IT WORKS! eg
Thank you everyone for helping, and sorry if my annoyance led to ignorance
or, if I was a bit grumpy… I’ve been battling at this the last 2 days now
SO… To sum up… The problem was related towards NON RELAVENT (directly by
RT in any case) perl modules that did not have proper permissions… Wow…
How’s this one for a head scratcher…
bye!
meFrom: “Chris Knipe” savage@savage.za.org
To: “Bruce Campbell” bruce_campbell@ripe.net; rt-users@lists.fsck.com
Sent: Saturday, July 13, 2002 10:58 PM
Subject: Re: [rt-users] Getting a little annoyed now
To answer your original question on this topic, you probably have one of
the lib/RT directories (or somewhere on the path) still inaccessible to
the user running rt-mailgate. This is a common problem when the RT
installation was done as root.
Which, is what I thought aswell. The permissions are as make install set
them. However, I can access all the binaries fine. I can run
rt-mailgate,
rt, rt-admin, etc as any unprivlidged user no problem. Perl cannot load
RT::Handle, which pointed me to $RTHome/lib. I fail to see any permission
problems there however.
drwxr-xr-x 8 root rt 512 Jul 13 20:56 /usr/local/rt
/usr/local/rt
drwxr-xr-x 5 root rt 512 Jul 13 20:54 WebRT
drwxr-xr-x 2 root rt 512 Jul 13 20:57 bin
drwxr-xr-x 2 root rt 512 Jul 13 20:57 etc
drwxr-xr-x 4 root bin 512 Jul 13 20:57 lib
drwxr-xr-x 3 root rt 512 Jul 13 20:54 local
drwxr-xr-x 2 root rt 512 Jul 13 21:07 log
/usr/local/rt/lib
drwxr-xr-x 5 root bin 1024 Jul 13 20:57 RT
-rwxr-xr-x 1 root bin 2945 Jul 13 20:57 RT.pm
drwxr-xr-x 3 root bin 512 Jul 13 20:55 auto
/usr/local/lib/RT
-rwxr-xr-x 1 root bin 1007 Nov 7 2001 Handle.pm
Now, how can other users not be able to read the files ?? I’m tempted to
do a ls -lR, but then I’ll prob just be wrong again…
–
me
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm