Gossamer Forum
Home : General : Perl Programming :

chmod 755?

Quote Reply
chmod 755?
Hi I'm very very new to perl and I have no idea what it means to chmod 755 a script to make it exectuable, how do I do it?
I read I need to download some software in order to run perl, is that true? Please enlighten.
Thanks!
Penny
Quote Reply
Re: chmod 755? In reply to
To change permissions of files (that is what the chmod stands for), you can do it in the following methods:

1) Via telnet shell account:

a) Connect to the directory where your file is located:

Code:
cd /cgi-bin/

b) Type in the following command line:

Code:
chmod 755 *.cgi

2) Via WS_FTP

a) Click on the directory where your cgi files are located.

b) Type in the following command line in the command line blank:

Code:
chmod 755 *.cgi

Hope this helps.

I would recommend reading some Perl and CGI tutorials where they discuss directory and file permissions.

To run Perl locally on your local Personal Computer, you will need to download Perl from ActiveState and install it on your computer.

www.activestate.com

You will also need a reliable web server for your Personal PC, like the following:

Apache for Windows
http://www.apache.org/

Internet Information Server (IIS)
http://www.microsoft.com/

Xitami (?)
http://www.ximati.com/

WebSite1.1 (O'Reilly)
www.ora.com

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




[This message has been edited by Eliot (edited November 28, 1999).]

[This message has been edited by Eliot (edited November 28, 1999).]
Quote Reply
Re: chmod 755? In reply to
Thanks Eliot, but where is the command line for ws_ftp? I thought ws_ftp was used only to upload files?
Penny
Quote Reply
Re: chmod 755? In reply to
RTFM Penny! Right-click on the file or files you want to set permissions for and you'll see CHMOD in the menu...

adam
Quote Reply
Re: chmod 755? In reply to
Hi Adam, thanks for replying. erm, however when I right click on the file I want, the closet thing I get to chmod was FTP commands and then a list of commands will appear but without 'chmod'. Hmmm.. I'm using WS_FTP95
Penny
Quote Reply
Re: chmod 755? In reply to
oh I got it, silly me, I should 'chmod' the already uploaded files, all the while I was right-clicking on the files in my local system! by the way Adam, what's RTFM?
Penny
Quote Reply
Re: chmod 755? In reply to
Maybe I have a newer version, I dunno, I don't use it very often. But the important part of my posting was RTFM, which is geekspeak for Read The F**cking Manual! Help is there for a reason in applications Penny, so click on the Help button and type in "chmod" or "permissions"... Smile

adam
Quote Reply
Re: chmod 755? In reply to
Sorry Penny, you got there before me. But you got the gist and you figured it out, so I guess you're happy. Smile

adam
Quote Reply
Re: chmod 755? In reply to
heheh, yeah I RTFM....
Penny