if your first installed snap contains a binary needing sudo ~/snap is created with root.root ownership
Bug #1620592 reported by
Oliver Grawert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Low
|
Unassigned |
Bug Description
using pi2 images the first snap i install is always the "classic" snap
sudo snap install classic --edge --devmode"
this snap requires you to use sudo to set up the classic dimension:
"sudo classic"
if i try to install and run another snap later i get:
ogra@localhost:~$ htop
mkdir: cannot create directory ‘/home/
ogra@localhost:~$
ogra@localhost:~$ ls -lh
total 4.0K
drwxr-xr-x 3 root root 4.0K Sep 6 11:47 snap
i have to chown the snap dir to make it work ...
Changed in snap-confine: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in snap-confine: | |
milestone: | none → 1.0.42 |
Changed in snap-confine: | |
milestone: | 1.0.42 → none |
affects: | snappy → snapd |
no longer affects: | snap-confine |
Changed in snapd: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
FYI. This bug is more complex as both snap-run and snap-confine currently create the $SNAP_USER_DATA directory.