Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

suid .cgi files.

Quote Reply
suid .cgi files.
ok.. so I got links2 runnign on my account, but the admin told me to use "chmod 4755 <filename>" on all my .cgi files. Now, I'm already to release my site to the public, but after tghe cgmod command all my cgi file respond with a 500 error. httpd error log resports: Can't do setuid [Sat Jun 10 12:44:32 2000] [error] [client 24.95.240.105] Premature end of script headers: /www/********.net/cgi-bin/myaccont/$
what am I doing wrong? (and yes, I have asked the admin... but he hasn't been on-line for about two weeks now, and I'm tired of waiting)

Quote Reply
Re: suid .cgi files. In reply to
Try setting the permissions back to 755 (rwxr-xr-x).

Regards,

Eliot Lee
Quote Reply
Re: suid .cgi files. In reply to
yes, of course that works, but I don't want to upset my admin, perhaps you culd tell me what he ment when he said to suid the cgi scripts? And how might I do that?

Quote Reply
Re: suid .cgi files. In reply to
I do not know...again, ask your admin about this...This is a very unique permission setting, which does not mesh with typical CGI permission settings.

Regards,

Eliot Lee