[Bug 1080744] [NEW] vmbuilder erases current directory with option '-o -d .'

Riccardo Murri riccardo.murri at gmail.com
Mon Nov 19 15:23:55 UTC 2012


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



More information about the Ubuntu-server-bugs mailing list