GNU bug report logs - #25080
When removing a user, 'guix system reconfigure' does not remove the user's home directory

Previous Next

Package: guix;

Reported by: Chris Marusich <cmmarusich <at> gmail.com>

Date: Thu, 1 Dec 2016 02:01:02 UTC

Severity: normal

Tags: notabug

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chris Marusich <cmmarusich <at> gmail.com>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 25080 <at> debbugs.gnu.org
Subject: bug#25080: When removing a user, 'guix system reconfigure' does not remove the user's home directory
Date: Thu, 01 Dec 2016 03:40:23 -0800
[Message part 1 (text/plain, inline)]
Mark H Weaver <mhw <at> netris.org> writes:

> Hi,
>
> Chris Marusich <cmmarusich <at> gmail.com> writes:
>> If you add a user to your operating system configuration file,
>> reconfigure, remove the user, and reconfigure again, then the user's
>> home directory will remain.  I expected it to be deleted when I
>> reconfigured the second time.
>>
>> Is this expected behavior?
>
> I think (hope?) so.  If I accidentally made a mistake in my system
> configuration and it resulted in the deletion of my home directory, I
> would be *very* angry and probably never trust GuixSD again.

Yeah, I think you're right.  Not deleting the directory automatically is
the safe thing to do.  Thanks for confirming the behavior is expected.
This bug report can be closed now.

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.