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: 111c93,148475823a01fd49 X-Google-Attributes: gid111c93,public X-Google-Thread: 10b612,148475823a01fd49 X-Google-Attributes: gid10b612,public From: Pat Gunn Subject: Re: Help: Apache Web server Date: 2000/09/23 Message-ID: <39CD18A6.330D5D82@apk.net>#1/1 X-Deja-AN: 673322923 Content-Transfer-Encoding: 7bit Sender: gunn@dhcp160184204.columbus.rr.com References: <39c7b02e@news.alphalink.com.au> <39C7AFF1.DECEEC28@nospam.guacamole.com> <39CA654B.9B820291@nospam.guacamole.com> X-Accept-Language: en, de Content-Type: text/plain; charset=us-ascii Organization: None Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha,comp.unix.questions,comp.unix.ultrix Gunnar Gaubatz wrote: > > 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. Not exactly. It actually looks for the home directory in /etc/passwd (or whatever) using getpwuid(). If your home directories arn't under /home, or if a few users have a home directory in an odd place, the ~ notation will find and be replaced by their home directory correctly. Try ls ~games/ to see what I mean. -- "Religion is a crutch, and only the crippled need crutches" -- Madalyn Murray Any opinions expressed in this message do not necessarily reflect the official position of Pat Gunn or his employer. Instead, they reflect the official position of the reader(s).