Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Apr 2002 23:45:25 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        cjclark@alum.mit.edu
Cc:        Julian Elischer <julian@elischer.org>, Dan Nelson <dnelson@allantgroup.com>, Michael Smith <msmith@FreeBSD.ORG>, Doug White <dwhite@resnet.uoregon.edu>, "=?iso-8859-1?Q?Pawe=B3?= Jakub   Dawidek" <nick@garage.freebsd.pl>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Hardlinks...
Message-ID:  <3CB3DF85.E37DAB77@mindspring.com>
References:  <Pine.BSF.4.21.0204091210120.57350-100000@InterJet.elischer.org> <3CB37C7C.6F6EE24A@mindspring.com> <20020409221536.A34659@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Crist J. Clark" wrote:
> > file is created in /etc; it does the right thing, if the
> > symlink is read-only, though...).
> 
> Exactly, you can't use symlinks with the passwd(1) and pwd_mkdb(8)
> commands as they stand. The commands will bail when they try to create
> a temporary file in /etc, /etc/pw.XXXXXX if /etc is read-only. If
> /etc is not read-only, the symlinks will get removed and the files
> actually written in /etc.

"it does the right thing, if the  symlink is read-only, though..."

That includes if it's on a read-only FS...  8-).

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CB3DF85.E37DAB77>