New to Cgi and need help understanding

They have: 22 posts

Joined: Sep 2000

I decide to get brave and try a prewritten cgi script.

I understand the html and directory part of it. But when it gets to the cgi file I am very confused. Can someone please explain this to me what "set the permission to 755?" means or how to do that.

Thank you
Kimberly

Join our Banner Exchange Program...FREE

They have: 850 posts

Joined: Jul 1999

Permissions are set to restrict who can read/write to a file. What FTP program are you using?

If you are using WS_FTP, than right click on a file, and select "unix chmod".
there are three groups: owner, group, other; And three selections for each: read(r), write(w), execute(xr).

When each selection is checked under a specific group, the total is 7. (4 for read, 2 for write, 1 for execute)

So if you want to chmod the file to 775, than:
Under "Owner" you would check all three, under "Group" you would check all three, and under "Other" you would check Read and Execute.

You can also do it through telnet by logging in and typing:
"cd /path/to/cgi-bin"
than
chmod 775 file.cgi

Hope that helps,

They have: 22 posts

Joined: Sep 2000

Thanks, I am using WS_FTP, I will try those settings.
Kimberly

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.