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 over 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 5496c1178a1a48006226450b13c2df195831794c Author: Alek Pinchuk <firstname.lastname@example.org> 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 <email@example.com> Reviewed by: Gordon Ross <firstname.lastname@example.org> Reviewed by: Kevin Crowe <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>