Thanks. That is what I thought you were asking for. There are several downsides to your proposal as I see it: 1. having extra files in the destination directory which were not created by vmbuilder will be more confusing, 2. 'if something does not work (due to permissions or other issues), blame the admin and let him clean up the mess' generally does not work out from a future-bug-resolution point of view.
I've marked the bug Opinion as I do see your point of view. If you'd like to submit a patch to implement the behavior you describe (only when the rmdir fails), I will accept the patch. ** Changed in: vm-builder (Ubuntu) Importance: Low => Wishlist -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/1044837 Title: vmbuilder should accept an empty destination directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1044837/+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