On Wed, 8 Jan 2003 01:34:47 -0800, "Danny Thorpe" <[EMAIL PROTECTED]> wrote:
> Ok, I got it working finally. Yay! :) > Some notes: > > Part 1: > I built tmda-cgi for system-wide operation. I placed the tmda-cgi password > file in the user's .tmda directory, next to the .tmda/config file. The user > is the owner and group for the tmda-cgi file. > > According to the tmda-cgi HOWTO, the file permissions should be set to 600 > for user-local tmda-cgi in a system-wide configuration. However, the only > way I can get past the bad password login error (now properly formatted and > reported) is to change the tmda-cgi file permissions to 644. Is this a bug > in tmda-cgi, perhaps a carryover from no-su mode? tmda-cgi can handle encrypted passwords or non-encrypted passwords (http://tmda.net/tmda-cgi.html#Pass). It determines whether the passwords are encrypted by the file permissions. If only one user can read the file (permissions set to 600) then there is no need to encrypt the passwords, so it will assume they are unencrypted. If the permissions are anything else (such as 644) then it will assume they are encrypted. In other words, you can set your password file to mode 600, but if you do, put your password in as plain text instead of encrpted text. Would it help if I made this more clear in the docs? > Part 2: > When I got past the login problem, I had a bit of a head scratcher with a > Python symbol not found error message. Eventually I realized that I had > copied the Pending.py file to the wrong directory, and there are actually > two Pending.py source files in the tmda source tree - one in TMDA and > another in contrib/cgi. And they're not same! > > Please please please rename one of those files to something else. It's a > disaster waiting to happen (except it already happened to me!). Yes, of > course I know that the files should never cross paths and everything > *should* be fine, but really! The best laid plans of mice and makefiles > often go astray, especially when humans are directing the file transfers... Yeah, I know. I'm pretty sure I created my Pending.py before David created his, but since he doesn't use tmda-cgi, he didn't realize I had a file of the same name in a different directory. I will try to change this at some point. > Part 3: > I can see my pending list in tmda-cgi! Cool! > However, the icons and display bits from the /display directory aren't > coming through. I placed the cgi/display files into a cgi-bin/tmda/display. > The file permissions are 644. The Apache server error log says "file > permissions deny server execution: > /home/subliminal.com/cgi-bin/tmda/display/last.gif" etc. I see that you already worked through this. Good. It looks like I'll need to set up a way to point out where to put images in the compilation process or something. Any suggestions, anyone? Gre7g. _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
