Unable to start snap applications if user's home directory is not /home/$USER

Bug #1776800 reported by Omegamormegil on 2018-06-14
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
snapd
High
Unassigned

Bug Description

Users with home directories in /home/$USER can run snap application, but users in /home/users/$USER can't.

nate@WorkstationC:~$ snap --version
snap 2.32.8+18.04
snapd 2.32.8+18.04
series 16
ubuntu 18.04
kernel 4.15.0-22-generic
nate@WorkstationC:~$ echo $HOME
/home/users/nate
nate@WorkstationC:~$ which hello-world
/snap/bin/hello-world
nate@WorkstationC:~$ hello-world
cannot create nate data directory: /home/users/nate/snap/hello-world/27: Permission denied

R_volkmann (r-volkmann) wrote :

Affects me too in /local/home/$USER

$ snap --version
snap 2.32.9
snapd 2.32.9
series 16
ubuntu 16.04
kernel 4.4.0-128-generic

Michael Vogt (mvo) on 2018-11-14
Changed in snapd:
importance: Undecided → High
Changed in snapd:
status: New → Triaged
Aivars Lauzis [LV] (lauzis) wrote :

- have related issue...

have git hook, that logs all commits from all projects into one log file splitted by date.
this works fine with git, and gui interfaces that are installed via apt-get, but snap package in this case "Git Kraken" is trying to write in different path, looks like that $HOME for snap application is not users home.

Zygmunt Krynicki (zyga) wrote :

This is a known limitation. We have some plans on how to change that but this is not something we can commit to this ubuntu cycle.

This is also listed on https://forum.snapcraft.io/t/limitations-in-snapd/9718

Changed in snapd:
status: Triaged → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers