DragonFly BSD
DragonFly bugs List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "Alex Hornung \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 02 Apr 2010 22:28:07 +0000

Alex Hornung <ahornung@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1701>
_____________________________________________________




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]