vmbuilder erases current directory with option '-o -d .'
Bug #1080744 reported by
Riccardo Murri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
New
|
Undecided
|
Unassigned | ||
vm-builder (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
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'.
Changed in vm-builder (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
Fixed in https:/ /bazaar. launchpad. net/~rmurri/ vmbuilder/ bug-1080744