https://bugs.kde.org/show_bug.cgi?id=445082

Méven Car <meve...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |meve...@gmail.com
             Status|REOPENED                    |CONFIRMED

--- Comment #3 from Méven Car <meve...@gmail.com> ---
usermod call is not something easy for the system to recognize.
We would need to check uid at plasma or application startup and deduce that
$HOME has changed and replace path in `~/.local/share/user-places.xbel`.
Another way to fix this would be to make KFilePlacesModel expand $HOME (i.e
$HOME would be used in paths), xdg `user-dirs.dirs` file does this.

The manpage of usermod states also: 
```
You must change the owner of any crontab files or at jobs manually.
```
So there is a precedent of letting the user handle the consequences of a
usermod.

It is not a common operation for users.

It could be handled more easily when editing the username using `kcmshell5
kcm_users` (although I am not sure it moves paths) but that's not what the bug
is about.

There is a very simple workaround:
On the other hand there is a simple GUI tool available in `kcmshell5
kcm_desktoppaths` to correct the paths.
Clicking reset to defaults should fix the entries.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to