Forum Moderators: phranque
As the subject says, my question is:
What is the difference between CHMOD settings 705 and 755, being set on folders within public website that should be read only, no user input?
Additional question: How about CGI folder, what is the default for that one?
Thanks
The difference is that 'Group' has no read, write, or execute privileges with the 705 setting.
For more information, try a search on "manpage chmod" and pick a reputable .edu site from the results.
Not sure whether to laugh or cry about your "what's the default for cgi-bin?" question -- The answer depends on what 'user' the cgi scripts are executed as, and it seems that there is no standard; it varies from host to host. However, some time spent with the chmod and chown manpages will at least make you aware of the meaning and effects of various settings.
You might also want to try searching our WebmasterWorld Linux, Unix, and *nix Operating Systems [webmasterworld.com] forum and library for previous discussions of this subject.
Jim
Sorry about wrong formulation of my question. I know that kind of difference between the two, I use GUI based ftp program which allows CHMOD settings to be viewed/changed in easy manner.
I meant to ask when would you use one or another (755/705)? Are there typical situations? 755 seems to be the default for folders, but is it?
In regards of CGI, with one host I found 755 while with the other 777, and I wondered why.
I base all of those questions on the belief that there should be some kind of standard or common practice, something that is wide spread unless there are some specific needs.
Thanks