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 [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
pgpsxzXPoQEMq.pgp
Description: PGP signature
