[issue1701] mkdir / returns EPERM instead of EEXIST (related to pkg_add)
Alex Hornung (via DragonFly issue tracker)
sinknull at leaf.dragonflybsd.org
Mon Apr 19 23:50:52 PDT 2010
Alex Hornung <ahornung at gmail.com> added the comment:
Chris,
FWIW, from the opengroup rmdir page:
"[EPERM] or [EACCES]
The S_ISVTX flag is set on the parent directory of the directory to be removed
and the caller is not the owner of the directory to be removed, nor is the
caller the owner of the parent directory, nor does the caller have the
appropriate privileges. "
I don't see how this applies to '/', since it doesn't have S_ISVTX set. Having
to choose between two descriptions that don't quite apply, I'd at least take the
one that is not completely special-cased on the S_ISVTX flag.
Cheers,
Alex
_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1701>
_____________________________________________________
More information about the Bugs
mailing list