https://qa.mandrakesoft.com/show_bug.cgi?id=876
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
------- Additional Comments From [EMAIL PROTECTED] 2003-01-20 06:18 -------
Proposed patch:
if ($bug) {
system("rm", "-rf", $bug);
mkdir $bug or $urpm->{fatal}(8, _("Unable to create directory [%s] for bug
report",
$bug));
Remove the rm -rf line. How could that possibly ever be warranted? =) Then change
the docs to say that --bug needs to take the pathname to a non-existant directory, and
will fail if it already exists.
Please take a look at this ASAP.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
description:
I encountered a severe data loss problem when running urpmi with the following
options:
urpmi -u --auto --bug /home/user
The --bug option did a destructive overwrite of the directory /home/user,
destroying all data and subdirectories, and changing the file permissions of the
directory to root:root. The --bug option in this version of urpmi does this to
any directory specified in the argument.