Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2006 08:45:28 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libc/sys symlink.2
Message-ID:  <20061213074528.GA1815@garage.freebsd.pl>
In-Reply-To: <20061213135203.G1136@delplex.bde.org>
References:  <200612122005.kBCK54S3042289@repoman.freebsd.org> <20061213135203.G1136@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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