Debian Bug Tracking System
2006-Apr-10 16:38 UTC
[Adduser-devel] Processed: patch to handle symlinks
Processing commands for control@bugs.debian.org:> tags 152206 + patchBug#152206: "deluser --remove-all-files" doesn''t remove the complete home of the user There were no tags set. Tags added: patch> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
tags 152206 + patch thanks * deluser: Include symbolic links in the backup and remove them with the other files and directores, when --remove-home is given. http://people.ubuntu.com/patches/deluser-remove-all.diff
Martin Michlmayr
2006-Apr-10 17:07 UTC
[Adduser-devel] Bug#152206: patch to handle symlinks
* Matthias Klose <doko@cs.tu-berlin.de> [2006-04-10 18:22]:> * deluser: Include symbolic links in the backup and remove them > with the other files and directores, when --remove-home is given. > http://people.ubuntu.com/patches/deluser-remove-all.diffAttached. -- Martin Michlmayr http://www.cyrius.com/ -------------- next part -------------- diff -Nru /tmp/6zzDXGzH46/adduser-3.80ubuntu1/debian/changelog /tmp/EBbO6nkvFy/adduser-3.80ubuntu2/debian/changelog --- /tmp/6zzDXGzH46/adduser-3.80ubuntu1/debian/changelog 2006-03-07 12:39:31.000000000 +0100 +++ /tmp/EBbO6nkvFy/adduser-3.80ubuntu2/debian/changelog 2006-04-10 18:18:43.000000000 +0200 @@ -1,3 +1,11 @@ +adduser (3.80ubuntu2) dapper; urgency=low + + * deluser: Include symbolic links in the backup and remove them + with the other files and directores, when --remove-home is given. + Ubuntu #34299. + + -- Matthias Klose <doko@ubuntu.com> Mon, 10 Apr 2006 16:16:47 +0000 + adduser (3.80ubuntu1) dapper; urgency=low * Only check $! after calling symlink() if symlink() fails. Fixes user diff -Nru /tmp/6zzDXGzH46/adduser-3.80ubuntu1/deluser /tmp/EBbO6nkvFy/adduser-3.80ubuntu2/deluser --- /tmp/6zzDXGzH46/adduser-3.80ubuntu1/deluser 2005-10-25 07:20:43.000000000 +0200 +++ /tmp/EBbO6nkvFy/adduser-3.80ubuntu2/deluser 2006-04-10 18:16:43.000000000 +0200 @@ -258,7 +258,7 @@ } } push(@files, $File::Find::name) - if(-f $File::Find::name); + if(-f $File::Find::name || -l $File::Find::name); push(@dirs, $File::Find::name) if(-d $File::Find::name); } # sub home_match diff -Nru /tmp/6zzDXGzH46/adduser-3.80ubuntu1/po/adduser.pot /tmp/EBbO6nkvFy/adduser-3.80ubuntu2/po/adduser.pot --- /tmp/6zzDXGzH46/adduser-3.80ubuntu1/po/adduser.pot 2006-03-07 12:39:38.000000000 +0100 +++ /tmp/EBbO6nkvFy/adduser-3.80ubuntu2/po/adduser.pot 2006-04-10 18:18:54.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-03-07 11:39+0000\n" +"POT-Creation-Date: 2006-04-10 16:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
On Mon, Apr 10, 2006 at 06:38:08PM +0200, Martin Michlmayr wrote:> * Matthias Klose <doko@cs.tu-berlin.de> [2006-04-10 18:22]: > > * deluser: Include symbolic links in the backup and remove them > > with the other files and directores, when --remove-home is given. > > http://people.ubuntu.com/patches/deluser-remove-all.diff > > Attached.Committed to SVN. Thanks. 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/20060410/de720496/attachment.pgp