[Adduser-devel] Bug#545024: adduser: deluser does not delete pipes or sockets

Joerg Hoh joerg at joerghoh.de
Mon Sep 7 21:13:47 UTC 2009

severity 545024 normal


On Fri, Sep 04, 2009 at 04:18:03PM +0200, Christian Sievers wrote:
> Package: adduser
> Version: 3.110
> Severity: important
> This is related to bug #430640, but I couldn't mail to
> 430640 at bugs.debian.org.
> There it was reported and finally fixed for the case one
> does a backup, but just trying
>   deluser --remove-home <user>
> still won't delete pipes or sockets, and therefore also
> the whole home directory will not be deleted.

I can confirm that, sockets are not removed.

/usr/sbin/deluser, line 299

> (-s $File::Find::name && push(@dirs, $File::Find::name)) ||

that should be a capital "S", I will fix that. But I cannot confirm it for
named pipes/fifos.

But deluser still does not remove block or character devices then. I will
add a warning if deluser encounters such a "file".


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: not available
URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20090907/113c95cc/attachment-0001.pgp>

More information about the Adduser-devel mailing list