[lkml]   [1996]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Proposal: restrict link(2)

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

 \ /
  Last update: 2005-03-22 13:38    [W:0.042 / U:23.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site