From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,148475823a01fd49 X-Google-Attributes: gidf8c9b,public X-Google-Thread: 10b612,148475823a01fd49 X-Google-Attributes: gid10b612,public X-Google-Thread: 111c93,148475823a01fd49 X-Google-Attributes: gid111c93,public From: Gunnar Gaubatz Subject: Re: Help: Apache Web server Date: 2000/09/23 Message-ID: #1/1 X-Deja-AN: 673300267 References: <39c7b02e@news.alphalink.com.au> <39C7AFF1.DECEEC28@nospam.guacamole.com> <39CA654B.9B820291@nospam.guacamole.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Worcester Polytechnic Institute Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha,comp.unix.questions,comp.unix.ultrix On Thu, 21 Sep 2000, Marble Head wrote: > > cd /home > > chmod 711 ~user > > chmod 755 ~user/public_html > > chmod 644 ~user/public_html/ > > chmod 755 ~user/public_html/ > > Have you tried this? Yep, it works. Believe him. > It doesn't seem to make sense to me. Why the ~ in front of user? Is that a special > folder somebody created, or is it part of their login name, or a type-o, or > something I don't understand? The latter. The "~" character is an abbreviation for /home/, hence ~user means /home/user. > Also, on my system, in order for httpd to reach the /home/joeuser/public_html/* > files, all of those paths needed to be read and execute permissions, in other words, > 755. No, that is wrong. In order to reach public_html, /home/user only needs to have the "executable/dir-access" flag set (1). Apache does not search for the public_html directory, but changes to it assuming it is there. That's the difference. However, if another user wants to "ls" the contents of /home/user, then the read flag (4) must be set. I hope this helps. If you have doubts about this, try "man chmod". Greetings, Gunnar -------------------- Gunnar Gaubatz --------------------- _ ----- 87 Park Ave Apt.7, Worcester, MA 01605, U.S.A ----- / \ + - mailto:gaubatz@wpi.edu - mailto:gunnar.gaubatz@gmx.de - |/o\| H - Graduate student of Electrical & Computer Engineering - |###_/ \_ ----------- Worcester Polytechnic Institute ------------- |__|/ # \| ------- W P I