>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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs