On Fri, Aug 29, 2025 at 09:51:29PM -0500, Rob Browning wrote:
Rob Browning <[email protected]> writes:
Offhand, and without remembering perl's exact semantics on this front,
I'd guess this is a case of assuming paths are decodable in the
current locale. If so, it should be possible to reproduce the problem
from a UTF-8 locale like this:

Oh, wait, probably not locale related since DEL is valid UTF-8.

In any case, I worked around it for now by just using find's -delete
with -user and -group to remove all the files and then ran deluser
without --remove-all-files.

I think this might finally the straw that breaks the camel's back and will cause us to either deprecate and eventuelly remove --remove-all-files, or just delegate that task to the "Essential: yes" find(1) in the first place. I am wondering why that wasn't implemented directly anyway.

When implementing the find(1) thing, deluser will just error out if find is not present. That will only happen if some package decides to _delete_ a user with all their data in the installer, in a fully installed base system the Esssential packages are at least going to be unpacked.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Reply via email to