[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Formmail and telnet problems



Hi Adam,

you really don't _have to_ change the owner of this script to get it run.
Besides, check in telnet mode the user and its group before you do chwon.

For example, if you put your formmail.cgi (or formmail.pl works as well)
somewhere under /web directory (document root of your web server), under
normal cirumstances this script will not have the rights to run if loaded up
simply by ftp.

Changing the owner will not help. You have to change the "mode" of this
file. As for perl scripts as "FormMail" by Matt Wright you should do 'chmod
755'. Many FTP clients are enabled to change the mode remotely. Look for
"change permissions" or "chmod" in your ftp client or telnet it as the user
who did the upload before, get into the directory where you put your script
an type

chmod 755 ./formmail.cgi

Next should be testing for errors:

./formmail.cgi

If there are no errors you will see. (html tags in the formmail case).

For any further configuration refer to http://www.worldwidemart.com and read
the manual carefully.

Regards,

Hendrik.
--


> I am new to this bit and don't quite understand so could someone please
> explain.
> 
> I have created a virtual site on my RaQ3 and uploaded the relevant files and
> everything works fine.
> 
> Then I uploaded a cgi script 'formmail.cgi'
> 
> This I know has worked before and I have checked for errors and it's fine.
> However when I do a form submission it says this:
> 
> CGIWrap encountered an error while attempting to execute this script:
> 
> Error Message: Permission denied
> Error Number: 13
> 
> I had this error once before and I telnetted in and went to root user and
> did a chown 'admin formmail.cgi'
> 
> This has had no effect whatsoever.
> 
> My questions are:
> 
> 1)  Why do I have to always go in thru telnet and do a chown this is going
> to be quite annoying if I'm setting up a lot of virtual servers, plus I
> don't want my clients to telnet in!!
> 
> 2)  Any ideas why it doesn't work at all
> 
> Thank you
> 
> Adam Smith
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>