refresh to same revision yields broken SNAP_USER_DIR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I have a misbehaving snap. I want to test in devmode.
cmiller@zippy:~$ snap list
Name Version Rev Developer Notes
core 16-2 1337 canonical -
tor-middle-relay 0.2.9.10-1 156 chadmiller -
cmiller@zippy:~$ sudo snap refresh tor-middle-relay --beta --devmode --revision=156
error: cannot perform the following tasks:
- Copy snap "tor-middle-relay" data (cannot copy "/home/
cmiller@zippy:~$ ls -ld /home/cmiller/
ls: cannot access '/home/
cmiller@zippy:~$ ls -l /home/cmiller/
total 44
drwxrwxr-x 2 cmiller cmiller 2 Jun 28 2016 148
drwxrwxr-x 2 cmiller cmiller 2 Jun 28 2016 152
drwxrwxr-x 2 cmiller cmiller 2 Jun 28 2016 156.old
drwxr-xr-x 2 cmiller cmiller 2 Feb 16 16:09 common
Changed in snappy: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
affects: | snappy → snapd |
I'm pretty sure we have tests for exactly this. I'll dig a little.