DragonFly bugs List (threaded) for 2013-04
[DragonFlyBSD - Bug #2543] (Closed) man rmdir(2) : add EINVAL to the error section
Issue #2543 has been updated by swildner.
Status changed from New to Closed
Fix pushed (cd6a8264ce320929480ebadd227f0a8de0763a3d).
Bug #2543: man rmdir(2) : add EINVAL to the error section
rmdir can return EINVAL if the directory is a mount point :
* Do not allow directories representing mount points to be
* deleted, even if empty. Check write perms on mount point
* in case the vnode is aliased (aka nullfs).
if (nd->nl_nch.ncp->nc_flag & (NCF_ISMOUNTPT))
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account