From owner-cvs-all@FreeBSD.ORG Wed Dec 13 07:48:52 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49B8216A416; Wed, 13 Dec 2006 07:48:52 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03FD743DA5; Wed, 13 Dec 2006 07:44:16 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 97DFC487F4; Wed, 13 Dec 2006 08:45:17 +0100 (CET) Received: from localhost (dlm178.neoplus.adsl.tpnet.pl [83.24.42.178]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6F7AE456B1; Wed, 13 Dec 2006 08:45:12 +0100 (CET) Date: Wed, 13 Dec 2006 08:45:28 +0100 From: Pawel Jakub Dawidek To: Bruce Evans Message-ID: <20061213074528.GA1815@garage.freebsd.pl> References: <200612122005.kBCK54S3042289@repoman.freebsd.org> <20061213135203.G1136@delplex.bde.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20061213135203.G1136@delplex.bde.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/sys symlink.2 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 07:48:52 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2006 at 01:57:01PM +1100, Bruce Evans wrote: > On Tue, 12 Dec 2006, Pawel Jakub Dawidek wrote: >=20 > >pjd 2006-12-12 20:05:04 UTC > > > > FreeBSD src repository > > > > Modified files: > > lib/libc/sys symlink.2 > > Log: > > symlink(2) return EACCES if a component of the name2 path prefix denies > > write permission. >=20 > Isn't that a bog in symlink(2)? POSIX and POLA don't mention it. It has to be that way. You can't write to a directory you don't have write permission, ie. you can't create files, directories, hardlinks and symlinks. 'name2' is a file name, 'name1' is what symlink point at. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFf6+YForvXbEpPzQRAjCUAJ9nMa3H5uiQMFzOaZfLT66j2VSxJgCcC9yA tfvuevsAlAS9OX7AD+/R0zo= =QuEn -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--