From: Lloyd Zusman <ljz@asfast.com>
To: zsh-users@sunsite.dk
Subject: Re: Named directory pointing to a symbolic link
Date: Mon, 24 Oct 2005 18:36:17 -0400 [thread overview]
Message-ID: <m3pspupmou.fsf@asfast.com> (raw)
In-Reply-To: <1051024144857.ZM19579@candle.brasslantern.com>
Bart Schaefer <schaefer@brasslantern.com> writes:
> On Oct 24, 1:04pm, Jean Chalard wrote:
> }
> } I've run into a behaviour I wasn't expecting with named directories on
> } FreeBSD. [...]
> }
> } It seems to me like the 'www' variable (which ought to be unset when I
> } start the shell, it's not like it should be a special variable [...]
> }
> } I can reproduce it on another FreeBSD where zsh is installed the
> } vanilla way and where I don't have any configuration files.
>
> The most obvious answer is that there really is a user named "www";
> perhaps the dummy user that runs the apache httpd or some such. Have
> you tried
> grep www /etc/passwd
> ??
This is almost certainly what's going on in your case, Jean. On my
FreeBSD host, the default configuration for user ID's with no HOME
directory is to have the string "/nonexistent" in the "home_dir" field
of /etc/passwd. For no login shell, the string "/nonexistent" goes into
the "shell" field. To wit:
% grep /nonexistent /etcpasswd
ftp:*:14:5:Anonymous FTP Admin:/home/services/ftp:/nonexistent
pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/sbin/nologin
I wouldn't be surprised if the "www" user also has a "/nonexistent" HOME
in the default FreeBSD setup (I had manually changed my "www" user ages
ago).
--
Lloyd Zusman
ljz@asfast.com
God bless you.
next prev parent reply other threads:[~2005-10-24 22:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-24 4:04 Jean Chalard
2005-10-24 8:21 ` DervishD
2005-10-24 8:37 ` Jean Chalard
2005-10-24 9:08 ` Peter Stephenson
2005-10-24 9:18 ` Jean Chalard
2005-10-24 14:48 ` Bart Schaefer
2005-10-24 22:36 ` Lloyd Zusman [this message]
2005-10-25 2:51 ` Jean Chalard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3pspupmou.fsf@asfast.com \
--to=ljz@asfast.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).