snaps don't work with encrypted home: failed to create user data directory. errmsg: Permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned | ||
ubuntu-core-launcher (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge | ||
Xenial |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
No snaps appear to work with encrypted home. For example, even the 'hello' snap does not function: failed to create user data directory. errmsg: Permission denied
The error message appears to be a bit misleading, since the ~/snap/hello/1 directory tree is created, so the snap can access the home dir.
Workaround:
Install without encrypted home, if you do that snaps work properly.
However, see this comment for a possible workaround:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapd 2.0.5
ProcVersionSign
Uname: Linux 4.4.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jun 15 10:02:35 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-01-01 (165 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151209)
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- snaps dont work with encrypted home: failed to create user data + snaps don't work with encrypted home: failed to create user data directory. errmsg: Permission denied |
Status changed to 'Confirmed' because the bug affects multiple users.