10-14-2002, 03:56 AM
I made some cgi scripts, then I put them into a cgi-bin.
the scripts (.cgi) are permissions 755. i have two, one that gets info from a .txt and one that sends info from a form into that .txt.
now they both have the same permissiones (755) but only the one that gets from the .txt works? the one that gets from the form doesnt? whats gonna on 'ere?!
10-14-2002, 06:23 PM
have you set the permissions on the txt file too?
you need to do that to 777 if your writing to it
if you have then chuck us more info on the error
10-15-2002, 07:27 AM
hehe, after 3 seconds from when i posted the thread i worked out i didnt set it to 777 i only did 775 woops!
thanks anyhow :D:thumbsup:
10-15-2002, 09:01 AM
If you are reading and writing to a text file you only need read and write permissions on the file (666). Sticking the execute flag onto the file is actually quite bad! Subverting PERL can be quite easy unless special measures are taken to prevent it and having an execute bit set on the txt file open another door.
10-15-2002, 09:18 AM
yeha i guess i could do that.. thanks :D
Originally posted by fivesidecube
what does that mean? (the above)
10-15-2002, 08:08 PM
yeh im aware of that.. but depending on your server permission settings you may have problems... unless your going for some kinda really important online system you dont need surcurity that much and if you where you`d have security anyhow..
tho just thought it would make life easier :D
but thanks for the input anyway man usefull info to those that dont know ... :thumbsup:
oh sir pannels is a name.. my name :p