Public bug reported:

Adding option '-o -d $(pwd)' to the 'vmbuilder' command line results in
the current directory and its contents being completely erased; after a
while the scripts fails anyway because `getcwd()` reports error.

This is a dangerous thing to do: 'vmbuilder' should explicitly refuse
check that the argument to '-d' is *not* the current directory and
refuse to start otherwise.

Also, I think that it should be better explained what the argument to
'-d' is expected to be, and what is the combined effect of '-o' and
'-d'.

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1080744

Title:
  vmbuilder erases current directory with option '-o -d .'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1080744/+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

Reply via email to