This is a discussion on Help..newbie...setting file permissions within the Apache Web Server forums, part of the Web Server and Related Forums category; There has to be a simple way to set file permissions but I am coming up empty handed. Can someone ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
There has to be a simple way to set file permissions but I am coming up
empty handed. Can someone please tell me what to do? Using on XP SP2 I have tried FTP to access but get connection refused. I tried 127.0.0.1, 192.168.1.20 and even the no-ip name i have. None work. I set windows firewall to accept ftp port 21 and linksys router the same. I have had no problem except for this so far and I just know a big DOH is coming my way. Please help |
|
|||
|
ummm...i take it you are saying that you can not use an ftp program like
cuteftp to access a site that is running on Apache and then chmod? Ok.... Then please tell me....how do I go about setting file and directory permissions. I have searched and found no straight answer. "Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message news:slrndo0jop.1ut.davideyeahsure@fogg.onlyforfun .net... > On 2005-11-20, Joe C <joe@joe.com> wrote: >> I have tried FTP to access but get connection refused. > > ? what has ftp to do with Apache? > Davide > > -- > The difference between math and physics is the difference between > masturbation and sex. They're both messy, but physics can get you in > much more trouble. -- Paul Tomblin & Malcom Ray |
|
|||
|
Ugh. I installed apache on MY computer. I added a website, created
databases, am running cgi scripts. So far everything is working as I want. I want to add a new script but it is picky and all its files need special permissions. All I am asking is how do I go about doing setting these. Is there a link to this information if it is too extensive for you to reply to? I have looked on http://httpd.apache.org/ and have found no clear answer. I find things like this: File permissions Remember that the server does not run as you. That is, when the server starts up, it is running with the permissions of an unprivileged user - usually nobody, or www - and so it will need extra permissions to execute files that are owned by you. Usually, the way to give a file sufficient permissions to be executed by nobody is to give everyone execute permission on the file: chmod a+x first.pl Where do I do this??? Command Prompt? Program?? And sir, your replies are vague and non helpful. If it is your intention to taunt new users then your reply is not required. Thank you "Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message news:slrndo1et3.373.davideyeahsure@fogg.onlyforfun .net... > On 2005-11-20, Joe C <joe@joe.com> wrote: >> ummm...i take it you are saying that you can not use an ftp program like >> cuteftp to access a site that is running on Apache and then chmod? > > Apaghe is a web server, the only thing he does is to serve web pages. > >> Then please tell me....how do I go about setting file and directory > > I don't know, why don't you ask the person that mantain that server? > > Davide > > -- > Carpe Daemon -- Seize the background process! > -- From a Slashdot.org post |
|
|||
|
"Joe C" <joe@joe.com> schreef in bericht news:Zx3gf.1259$Nx2.283@trnddc09...
> Ugh. I installed apache on MY computer. I added a website, created > databases, am running cgi scripts. So far everything is working as I want. I > want to add a new script but it is picky and all its files need special > permissions. That's quite a change to your initital problem of FTP not connecting ... .... because port 20 has to be enabled too > I have looked on http://httpd.apache.org/ and have found no clear answer. The answers are clear IF you understand there context: Linux > I find things like this: > File permissions > Remember that the server does not run as you. That is, when the server > starts up, it is running with the permissions of an unprivileged user - > usually nobody, or www - and so it will need extra permissions to execute > files that are owned by you. Usually, the way to give a file sufficient > permissions to be executed by nobody is to give everyone execute permission > on the file: > > chmod a+x first.pl That is a typical LINUX command and does not apply to Windows. Windows does have means to accomplish about the same, but commonly the service has sufficent -actually far too many- rights to do what you want it to do. > Where do I do this??? On Windows you will most probably NOT [need to] do that anywhere. > Command Prompt? Possible > Program?? Most FTPclient will be capable. Due to the differences of OSses like Linux versus Windows many scripts made to run on Linux wil NOT on Windows. Where possible Apache tries to adapt to to the OS, problems due to the inability to adapt are not related to [configuring] Apache. Examples of these un-adaptable problems are - Windows cann not distinct between files when onlythe casing of their names differ - the use of various characters in file and folder names: Linux allows the _literal_ use of ?, +, \, and : - depending on programs unavailable on Windows, best know sample will be sendmail. - the mechanisme to lock files Linux allows to delete an open file without disturbing normal operation on its content. HansH |