Public bug reported: An annoyingly simple bug. Should be easy to reproduce.
I have my /tmp directory symlinked to a directory in my /home filesystem (/home/foobar/.slash_tmp). Permissions/ownership are root:root and 777 and no other apps or packages misbehave. Running a Snappy app fails immediately: foobar@ubuntu~> ubuntu-calculator-app.calculator 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) ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 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) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1585798 Title: Cannot run Snappy apps with /tmp symlinked - "unable to create tmpdir. errmsg: Permission denied" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snap/+bug/1585798/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs