Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Setting errno when removing a non-empty directory #10

Open
FrankHB opened this issue Mar 3, 2017 · 0 comments
Open

Setting errno when removing a non-empty directory #10

FrankHB opened this issue Mar 3, 2017 · 0 comments

Comments

@FrankHB
Copy link
Contributor

FrankHB commented Mar 3, 2017

The recent change 3fde6ce is not conforming to POSIX. In fact, EPERM is not only used for "the user didn't
have the (write) permission to remove the directory", and it was perfectly valid in sense of conformance. Note Linux also behaves differently, however, not ENOTEMPTY for this case. The changed behavior might introduce confusion, so please clarify it explicitly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant