Cannot run Snappy apps with /tmp symlinked - "unable to create tmpdir. errmsg: Permission denied"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
An annoyingly simple bug. Should be easy to reproduce.
I have my /tmp directory symlinked to a directory in my /home filesystem (/home/
Running a Snappy app fails immediately:
foobar@ubuntu~> ubuntu-
unable to create tmpdir. errmsg: Permission denied
If I remove the symlink and create a "real" /tmp directory, everything works as expected. The issue isn't with crossing filesystem boundaries, as creating the symlink to another directory in the "slash" filesystem produces the same result (e.g. "ln -s /test /tmp")
Let me know if I can provide any further information. This is really all I have on this!
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snap (not installed)
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed May 25 21:56:32 2016
InstallationDate: Installed on 2016-04-23 (32 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: snap
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | snap (Ubuntu) → snapd (Ubuntu) |
Changed in snapd (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Hi all. Any update on this? Thanks.