cvs commit: src/lib/libc/sys symlink.2

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Dec 12 23:48:52 PST 2006


On Wed, Dec 13, 2006 at 01:57:01PM +1100, Bruce Evans wrote:
> On Tue, 12 Dec 2006, Pawel Jakub Dawidek wrote:
> 
> >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.
> 
> 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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20061213/8d1e2008/attachment.pgp


More information about the cvs-src mailing list