can't mkdir SNAP_USER_COMMON directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Undecided
|
Unassigned | ||
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In my snap I would like to use the SNAP_USER_COMMON directory in order to persist data across versions. I've observed this both for a snap that executes as a normal user and one that executes as root (daemon).
Test case:
git clone https:/
$ make-it-so
mkdir: cannot create directory '/home/
touch: cannot touch '/home/
$ dmesg | tail
[14090.089664] audit: type=1400 audit(147067750
Note that snapd should be creating this directory for you and you shouldn't have to create it yourself.