Yes I'm running in system-wide mode. I ran the chmod command you
suggested but I still receive the same error. The
/root/APPS/tmda-cgi-0.10 directory is owned by 102725 (group nobody) -
is this correct?

I presume tmda-cgi also needs read access to the tmda install directory?
Should I run the recursive chmod on this directory too?

Any further ideas?

Thanks again.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Gre7g Luterman
Sent: 16 October 2003 03:36
To: [EMAIL PROTECTED]
Subject: Re: TMDA-CGI malformed header after login??

On Wed, 15 Oct 2003 15:39:05 +0100, "Richard Rawlings :: Pulse8 ::"
<[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED]&password=mypass&cmd=init
> %response
>   File "tmda-cgi.py", line 86, in ?
> %stdout
>     PVars = Session.Session(Form)
>   File "/root/APPS/tmda-cgi-0.10/Session.py", line 452, in __init__
>   File "/root/APPS/tmda-cgi-0.10/Session.py", line 195, in Save
> OSError: [Errno 13] Permission denied: '/root/APPS/tmda-cgi-0.10'

I am assuming you are running in system-wide mode.

When tmda-cgi first starts up, it runs as user root.  Then, once you
authenticate, it changes the effective user and runs as the user who
logged in.

I would guess from the above that the logged-in user does not have
read permissions on the /root/APPS/tmda-cgi-0.10 directory (and
subdirectories).  Since the program can no longer read in the code and
templates, it craps out.

To fix this, try granting read privileges on all these files to all
users:

# chmod -R a+r /root/APPS/tmda-cgi-0.10

Gre7g.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to