[issue1701] mkdir / returns EPERM instead of EEXIST (related to pkg_add)

Alex Hornung (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Fri Apr 2 15:29:09 PDT 2010


Alex Hornung <ahornung at gmail.com> added the comment:

Chris,

please change EPERM to EACCES before committing this. EPERM is only acceptable 
for S_ISVTX, not for: "[EACCES]
Search permission is denied on a component of the path prefix, or write 
permission is denied on the parent directory of the directory to be removed." 
which is the case here.

Otherwise the patch looks good and it shouldn't have any impact on the release, 
so imho you can commit and MFC it. POSIX compliance is good after all ;)

Cheers,
Alex Hornung

----------
assignedto:  -> c.turner

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1701>
_____________________________________________________






More information about the Bugs mailing list