** Changed in: gnome-shell (Ubuntu) Status: New => Fix Committed ** Tags added: fixed-in-gnome-shell-44 fixed-upstream
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1998529 Title: Uninstalling extensions dereferences symlinks, risking data loss Status in GNOME Shell: Fix Released Status in gnome-shell package in Ubuntu: Fix Committed Bug description: Uninstalling a gnome-shell extension removes its folder in ".local/share/gnome-shell/extensions", recursively as it should, but dereferencing symlinks!! Here is what happens and how to reproduce: Someone (me) installs an extension to try it out. While tweaking with its configuration, to try to customize it, I put a symlink within its extensions directory, pointing to somewhere else in my home folder. For example, in my case, a symlink to "~/Pictures/Icons", to be able to set it up with one of many custom icons I've created. Uninstall the extension later as it's not to my liking, extensions folder is gone, as well as my ~/Pictures/Icons folder's contents in my home directory. This could have been a lot worse, if the symlink was pointing higher up, since its doing a recursive delete. In this case, extension was installed as well as removed from the gnome-extensions website. Usually I install from website, but uninstall from extensions manager. Do not know if it happens with extensions manager as well. Please fix this, because I was frankly shocked that this happened, and could lead to very bad things (I've never seen a rm -rf follow symlinks, and wouldn't even want to know what flag would do that and why you would want that). What would expect to happen: A simple rm -rf recursive, non- dereferencing removal of extensions directory. What happened instead: A recursive removal, dereferencing symlinks, which can lead anywhere, and be very dangerous. Symlinks may have been placed in there if someone was working on or tweaking an extension. Description: Ubuntu 22.04.1 LTS Release: 22.04 gnome-shell 42.5 chrome-gnome-shell 10.1 To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1998529/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp