Problems with cgi and setting permissions - 2/22/2001 20:41:00
I am trying to get a cgi script set up and am running into difficulties with setting permission.Various bits require different levels of permission - two levels in total, some are 755 (3X .cgi files), others 660 (one .txt file, one .cfg file and one .cgi file) I am using digihost and they say at their site the following: quote: The /cgi-local directory itself and the cgi/perl scripts within must all be owned by the user and have the following rights:755 - (rwx r-x r-x)
That's it! Surely this cannot be so - almost all scripts have files requiring various different permissions. I am running other cgi files there but now realise that they are all set up with all files at 755, even if that is not what is required, which may not be a brilliant idea though they seem to work away fine. I have not used any that required 660 before so have not really been aware of this. When I try to set different permissions on any single file all files in cgi-local appear to take them on. Thus if I attempt to chmod one file to 660, all files becomes 660. I tried moving the ones requiring a different permission to a different directory under cgi-local but that didn't work. I will contact digihost about this but as I know several people here have used them in the past I wonder if anyone has had a similar experience and how they worked it out. Thanks. LATER Ok now things are a total mess. The stuff that was working previously (for a couple of weeks, quite happily) is now not working and I have contrived to somehow create two directories to which I am denied access so I cannot even delete the blasted things. HELP!! I really need to at least get the stuff that was working previously going again. I am having a horrible day  ------------------ Katherine
InKK Design LinKKs - Kilkenny's Online Magazine -*-*-*-*-*-*-*-*-*-* "Dogs have owners, cats have staff!"
[This message has been edited by abbeyvet (edited 02-22-2001).]
|