PDA

View Full Version : Some VERY general questions


Light
04-15-2002, 07:01 AM
Hey, I'm new to this stuff. So here goes:

Since FQ servers use SUEXEC, can I just set directories and files to 755 (for ALL CGI and PERL applications), where the installation instructions say to use 777? And is it slightly more secure if I do this?

If I have a choice between a .cgi and a .pl version of an application, is .pl a better choice (at least for system resources)?

Thanks for the help!

Jeff
04-15-2002, 07:53 AM
Since FQ servers use SUEXEC, can I just set directories and files to 755 (for ALL CGI and PERL applications), where the installation instructions say to use 777? And is it slightly more secure if I do this? Yes, you have to chmod scripts to 755 , not 777, when they are on a FutureQuest server.
If I have a choice between a .cgi and a .pl version of an application, is .pl a better choice (at least for system resources)?
I don't believe it matters much, if at all.

Light
04-15-2002, 05:06 PM
Thanks, Jeff... but I was puzzled by the statement that I "have to" chmod to 755 instead of 777. Does that mean that some things will not work properly here if they are set to 777?

Permissions are a new area for me, so I would appreciate a little more clarification on 755 vs. 777 at FQ. My (current) understanding is that 777 makes the files "world writable" while 755 does not. Is that correct?

Under FQ's setup, what will be the status of files and directories which I have set (per the installation instructions in various apps) to 777? Should I go through the files and folders of my site and set all of the current 777's to 755?

[Then there's the issue of installers that automatically set some things to 777...]

Thank you again for your help!