This is hard to achieve technically and conceptually.

First of all, snapd manages the $HOME/snap directory in non-trivial
ways. Some of those include security profiles that carefully spell out
the name of that directory or rules that select anything-but that
directory.

Snap doesn't what customisations have happened in each users directory.
The act of re-locatin the snap directory is non trivial and may include
existing bind mounts that cannot be affected by a move/rename operation.

Lastly the directory is not a good fit for .local/share. Notice that
while a snap application is running it is observing a $HOME variable set
to $HOME/snap/$SNAP_NAME/$SNAP_REVISION. It therefore stores all the
typical XDG classes of content (.local/.config/.cache) in that one spot.

** Changed in: snapd (Ubuntu)
       Status: Confirmed => Opinion

** Changed in: snapd
       Status: New => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575053

Title:
  User data directory should conform to XDG Base Directory Specification

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1575053/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to