Re: Proposal: restrict link(2)

Paul Flinders (
Mon, 16 Dec 1996 19:04:39 -0000

> From: Kai Henningsen <>

> This is what the "Single Unix Specification" says. I read this as "if
> is a file, and you can access(orig), and you can write to the destination

> dir, then link(orig,dest) will succeed".

> [EACCES] A component of either path prefix denies search
> permission, or the requested link requires writing in a directory with a

> mode that denies write permission, or the calling process does not have
> permission to access the existing file and this is required by the
> implementation.

There's no way that I'm a POSIX expert but the way that is phrased implies
to me that the definition of access is up to the implementation.