This bug was fixed in the package adduser - 3.112+nmu1ubuntu3
---
adduser (3.112+nmu1ubuntu3) natty; urgency=low
* deluser: Remove symlinks to directories with rm, not rmdir (Jim Cheetham).
LP: #34299.
-- Matthias Klose d...@ubuntu.com Thu, 06 Jan 2011 21:48:21 +0100
**
On a karmic system which I just tested, a new user does not have a sym
link to Examples. Closing the bug as fixed. Please reopen if it isn't.
** Changed in: adduser (Ubuntu)
Status: In Progress = Fix Released
--
deluser fails to remove home because of Examples link
Sorry, the lack of an Examples symlink in current distro versions
isn't sufficient to fix the fault. The bug is still present on 10.04,
for example ... although to trigger it you now have to create your own
symlink rather than one being created by default for you.
** Changed in: adduser (Ubuntu)
Thank you for your quick response, please forward the patch upstream to
Debian so they can take a look at it. Thank you for looking into this.
--
deluser fails to remove home because of Examples link
https://bugs.launchpad.net/bugs/34299
You received this bug notification because you are a
This bug needs to be re-opened, as the previous fix did not account for
the --remove-all-files usage.
deluser --remove-all-files fails to remove the Examples symlink in the more
recent version of adduser in Hardy, adduser 3.105ubuntu1.
deluser --remove-home is OK.
[EMAIL PROTECTED]:~# adduser
Changing bug status to In Progress as the previous fix did not account
for all use cases.
** Changed in: adduser (Ubuntu)
Status: Fix Released = In Progress
--
deluser fails to remove home because of Examples link
https://bugs.launchpad.net/bugs/34299
You received this bug notification
Sorry, my comment was slightly inaccurate, although the fix patch are
still valid ...
home_match() assigns a filename to @files on both -f and -l filetest
conditions, which means that the Examples symlink ends up in both @files
and @dirs
That should have been
home_match() assigns a symlinked