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)
Alex Hornung <ahornung@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1701>
_____________________________________________________
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]