[Adduser-devel] Bug#481352: adduser: --backup backs up to file called "--bzip2"

Joerg Hoh joerg at joerghoh.de
Thu May 15 18:07:56 UTC 2008


Hi

On Thu, May 15, 2008 at 03:36:29PM +0200, Otto Visser wrote:
> 
> deluser --backup backs up the home directory of the to be deleted user to a file 
> called --bzip2. The order of the arguments in deluser is incorrect, changing line 
> 325 by placing $backup_name directly after the "-cf" fixes the problem.

Thanks for spotting. Fixed in SVN.

         }
-        &systemcall($tar, "-cf", $options, $backup_name, "--files-from", $filesfilename);
+        &systemcall($tar, $options, "-cf", $backup_name, "--files-from", $filesfilename);
         chmod 0600, $backup_name;
          my $rootid = 0;
         chown $rootid, $rootid, $backup_name;


Jörg

-- 
What did you do to the cat? It looks half-dead. -Schroedinger's wife
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20080515/d788be3c/attachment.pgp 


More information about the Adduser-devel mailing list