Koozali.org: home of the SME Server

Perl CHMOD-ing

John Clubley

Perl CHMOD-ing
« on: February 04, 2002, 03:39:11 PM »
I am trying the chmod a cgi script but i cant. I get an error saying "funtion not allowed".

I am running sme server v5.

Any ideas?

Thanks

Quade

Re: Perl CHMOD-ing
« Reply #1 on: February 06, 2002, 06:14:19 PM »
First, are you doing this via the terminal or some sort of remote console (such as telnet or ssh)? Or are you using an FTP client to chmod the files?

Second, which user account are you using to chmod the files? Do you (that account) own the files?

You cannot chmod files through FTP on the SME server, nor can you use any account besides root or admin to chmod the files through telnet/ssh/console.

However, as standard practice for my CGI development, I keep PuTTY and WS_FTP open at all times, to upload the files, and chmod them accordingly.

HTH