Re: POSIX compliance of unlink(2)

2005-03-01 Thread Christopher Faylor
On Mon, Feb 28, 2005 at 10:45:59PM +, Eric Blake wrote: >1.5.12 and the latest snapshots allow unlinking a file contrary to POSIX >rules. The addition of CYGWIN=traverse was not enough to fix this issue. >Unlink is required to fail with EACCES if the file is contained in a directory >witho

Re: POSIX compliance of unlink(2)

2005-03-01 Thread Corinna Vinschen
On Feb 28 22:45, Eric Blake wrote: > 1.5.12 and the latest snapshots allow unlinking a file contrary to POSIX > rules. The addition of CYGWIN=traverse was not enough to fix this issue. > Unlink is required to fail with EACCES if the file is contained in a > directory > without write permissio

POSIX compliance of unlink(2)

2005-02-28 Thread Eric Blake
1.5.12 and the latest snapshots allow unlinking a file contrary to POSIX rules. The addition of CYGWIN=traverse was not enough to fix this issue. Unlink is required to fail with EACCES if the file is contained in a directory without write permission. $ mkdir a $ touch a/b $ chmod a-w a $ touc