From: Gunnar Gaubatz <gaubatz@wpi.edu>
Subject: Re: Help: Apache Web server
Date: 2000/09/23 [thread overview]
Message-ID: <Pine.OSF.4.21.0009231527190.9488-100000@ernie.WPI.EDU> (raw)
In-Reply-To: 39CA654B.9B820291@nospam.guacamole.com
On Thu, 21 Sep 2000, Marble Head wrote:
> > cd /home
> > chmod 711 ~user
> > chmod 755 ~user/public_html
> > chmod 644 ~user/public_html/<files/here>
> > chmod 755 ~user/public_html/<dirs/here>
>
> 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
next prev parent reply other threads:[~2000-09-23 4:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-19 4:00 Help: Apache Web server Pixel
2000-09-19 4:00 ` sideband
2000-09-19 4:00 ` Marble Head
2000-09-20 3:59 ` Pixel
2000-09-20 4:00 ` sideband
2000-09-21 4:00 ` Sally Woolrich
2000-09-20 4:00 ` Mamata Desai
2000-09-21 4:00 ` Marble Head
2000-09-22 0:11 ` James T. Dennis
2000-09-23 4:00 ` Gunnar Gaubatz [this message]
2000-09-23 4:00 ` Pat Gunn
2000-09-24 4:00 ` Gunnar Gaubatz
2000-09-19 4:00 ` Pixel
2000-09-19 4:00 ` sideband
2000-09-19 14:12 ` Pixel
2000-09-19 14:14 ` Pixel
2000-09-19 4:00 ` sideband
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox