[Adduser-devel] Bug#152206: patch to handle symlinks

Martin Michlmayr tbm at cyrius.com
Mon Apr 10 16:38:08 UTC 2006


* Matthias Klose <doko at 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.
-- 
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 at 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 at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"


More information about the Adduser-devel mailing list