PDA

View Full Version : how to set permissions in cgi?


pcoats
01-16-1999, 10:28 PM
I've uploaded a script to my cgi-bin. the installation instructions require me to %chmod 755 for a new directory I've created and for the file itself. But I can't figure out how to do this! Help!

Deb
01-16-1999, 10:44 PM
What FTP program are you using to upload with?

The "how" depends on the "what" for this one http://www.aota.net/ubb/wink.gif

Try doing a search in the HELP section of your program and search for "file permissions" or "change mode" or "chmod" it should be in there somewhere.... and maybe you can just right click on the file you want to change and it might be there too...

Let us know

Deb
p.s. directories and scripts created/uploaded to the cgi-bin are automagically set to 755 by default http://www.aota.net/ubb/wink.gif

[This message has been edited by Deb (edited 01-16-99).]

Terra
01-16-1999, 10:53 PM
Just a note: Everything uploaded will now assume either -

executable/directory: 755 (automagically) http://www.aota.net/ubb/wink.gif
normal/plain file: 644

--Terra
--Merlin would be proud--
FutureQuest.net

pcoats
01-17-1999, 02:33 AM
Thanks, as always, for your very speedy replies!

I have been using the freeware version of WS-FTP, and there doesn't seem to be anyway in there to CHGMOD.

I downloaded a copy of Cute-FTP, and can do it through there easily.

So I'll experiment further!

Peggy