[rt-users] Script failing to access file, permissions?

straygrey alf at stockton.co.za
Tue Jan 20 06:32:27 EST 2009


I am attempting to get Request Tracker to use a PostgreSQL database and need
to run,as root, a script :-
/usr/sbin/rt-setup-database-3.6 –action init –dba rtuser
–prompt-for-dba-password

this fails with

RT couldn't load RT config file /etc/request-tracker3.6/RT_SiteConfig.pm as:
    user: root
    group: root

The file is owned by user root and group root.

This usually means that the user/group your webserver is running
as cannot read the file.  Be careful not to make the permissions
on this file too liberal, because it contains database passwords.
You may need to put the webserver user in the appropriate group
(root) or change permissions be able to run succesfully.

but the file has the following attributes:-
root at general:~# ls -al /etc/request-tracker3.6/RT_SiteConfig.pm
-rw-r--r-- 1 root root 886 2009-01-20 06:45
/etc/request-tracker3.6/RT_SiteConfig.pm

Please tell me what I am missing.

-- 
View this message in context: http://www.nabble.com/Script-failing-to-access-file%2C-permissions--tp21560140p21560140.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.




More information about the rt-users mailing list