On Tue, May 07, 2013 at 22:44, Mike Small wrote:
> The rename system call in OpenBSD will error with EACCES if you try to
> rename a read only directory (test done in non-sticky dir):

> So I guess this is one of the ways a Unix system is allowed to work, if
> I'm reading IEEE 1003.1 as intended:
> 
> "[EACCES]  A component of either path prefix denies
> search permission; or one of the directories containing old or new
> denies write permissions; or, write permission is required and is
> denied for a directory pointed to by the old or new
> arguments. "

Right. That's us.

> http://www.opengroup.org/onlinepubs/009695399/functions/rename.html
> 
> 
> But should OpenBSD's man page mention the case?

Yes. This is an omission of our man page. I've taken a stab at
updating the text. Thanks.

Reply via email to