SMB clients get errors trying to delete non-empty directories
At the protocol level, we see that the client was allowed to set the "delete on close" flag on a directory when that directory was not empty.
In such cases, the server is supposed to return NT_STATUS_DIRECTORY_NOT_EMPTY and not let you set that flag.
Updated by Electric Monk about 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 5496c1178a1a48006226450b13c2df195831794c Author: Alek Pinchuk <email@example.com> Date: 2015-05-08T14:38:39.000Z 5901 SMB clients get errors trying to delete non-empty directories 1663 Non-empty directories can be marked delete on close in CIFS, but not actually deleted Reviewed by: Bayard Bell <firstname.lastname@example.org> Reviewed by: Gordon Ross <email@example.com> Reviewed by: Kevin Crowe <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>