[Bug 1747875] Re: [snap] permission restriction on /usr breaks TexMaths extension

2018-02-07 Thread Olivier Tilloy
You can check from within the extension whether the $SNAP environment variable is set. It's a bit of a suboptimal user experience, but at least that would provide feedback to the user. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1747875] Re: [snap] permission restriction on /usr breaks TexMaths extension

2018-02-07 Thread Roland65
OK, but I don't think including the hundreds of MB of LaTeX packages could be an option. Perhaps, TexMaths could detect if it is run from within a snap and warn the user about the issue? For me, this approach is OK. Does it sound feasible? -- You received this bug notification because you are

[Bug 1747875] Re: [snap] permission restriction on /usr breaks TexMaths extension

2018-02-07 Thread Olivier Tilloy
The way snaps work, they are strictly confined with apparmor that prevents access to the host system. There are interfaces that, when connected, allow partial access to some of the host's features, but to my knowledge none of them allow executing random binaries in /usr/bin/. -- You received

[Bug 1747875] Re: [snap] permission restriction on /usr breaks TexMaths extension

2018-02-07 Thread Roland65
Is it not possible to simply allow the access to the /usr directory? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1747875 Title: [snap] permission restriction on /usr breaks TexMaths extension To

[Bug 1747875] Re: [snap] permission restriction on /usr breaks TexMaths extension

2018-02-07 Thread Olivier Tilloy
Given that TexMaths is configurable and lets the user change the path to the latex binary, I guess one option would be to ship latex within the snap. That might not be very user-friendly, as I'm not convinced the extension would find it without the user telling it where to look for it. And we need

[Bug 1747875] Re: [snap] permission restriction on /usr breaks TexMaths extension

2018-02-07 Thread Olivier Tilloy
** Summary changed: - Libreoffice snap permission restriction on /usr breaks TexMaths extension + [snap] permission restriction on /usr breaks TexMaths extension ** Tags added: snap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.