>From my testing, looks like bionic and cosmic are affected. Xenial returns a proper error:
smb: \> rmdir somedir NT_STATUS_DIRECTORY_NOT_EMPTY removing remote directory file \somedir ** Also affects: samba (Ubuntu Bionic) Importance: Undecided Status: New ** Bug watch added: Samba Bugzilla #13204 https://bugzilla.samba.org/show_bug.cgi?id=13204 ** Also affects: samba via https://bugzilla.samba.org/show_bug.cgi?id=13204 Importance: Unknown Status: Unknown ** Tags added: server-next ** Changed in: samba (Ubuntu) Importance: Undecided => High ** Changed in: samba (Ubuntu Bionic) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1795772 Title: rmdir on non-empty samba directory fails silently To manage notifications about this bug go to: https://bugs.launchpad.net/samba/+bug/1795772/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs