Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: dtroy on November 20, 2001, 05:14:27 PM

Title: Chmoding CGI-Scripts
Post by: dtroy on November 20, 2001, 05:14:27 PM
I've created an Intranet Site and I'm sticking in an Ibay that has scripting turned on, I'm using WS-FTP to acesses the Ibay I can upload ok [bar MP3's] But I can't seem to be able to chmod any CGI Scripts .. any ideas .. the error I get is

550 CHMOD not allowed on /ibays/intranet/cgi-bin/gm-comments.cgi
Title: Re: Chmoding CGI-Scripts
Post by: Wietse on November 20, 2001, 06:51:50 PM
What I do to CHMOD the files is using SSH. Log in through a SSH client (e.g. putty) with your root username and password. Then locate the file(s) and chmod them. Easy! :)

Let me know if you need more detailed info!

Good luck!

Wietse
Title: Re: Chmoding CGI-Scripts
Post by: Doug Ardans on November 27, 2001, 04:24:31 AM
Ok one more thing, I found that when the files are chmod'ed they do not seem to work unless you do this.


chmod 775  [the files that want you to 705 the files]

then they will work.

never do anything less that 775 on cgi-scripts that you want to be read and exicuted.

that is my 2cents