Public bug reported:

I am the developer of a LibreOffice extension (the TexMaths equation
editor) and I got reports of users who can’t use this extension with the
snap version of LibreOffice, because of permission restrictions on /usr
(the TexMaths extension, and probably others, use external programs
located in /usr/bin).

Indeed, the TexMaths extension uses external programs like
/usr/bin/latex, /usr/bin/dvipng, /usr/bin/dvisvgm and the texlive LaTeX
packages to produce LaTeX equations in LibreOffice (in Writer, Draw and
Impress components). Since the access to /usr from the snap packages is
not possible, this breaks TexMaths.

I guess there are other extensions that could be affected by this
problem.

I tested and reproduced the issue in Ubuntu 16.04.3 LTS (64 bits) with
the snap package of LibreOffice 5.4.4.2.

Here is a link to download and test TexMaths (please note that texlive
must be installed before) : http://roland65.free.fr/texmaths/

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  I am the developer of a LibreOffice extension (the TexMaths equation
  editor) and I got reports of users who can’t use this extension with the
  snap version of LibreOffice, because of permission restrictions on /usr
  (the TexMaths extension, and probably others, use external programs
  located in /usr/bin).
  
  Indeed, the TexMaths extension uses external programs like
  /usr/bin/latex, /usr/bin/dvipng, /usr/bin/dvisvgm and the texlive LaTeX
  packages to produce LaTeX equations in LibreOffice (in Writer, Draw and
  Impress components). Since the access to /usr from the snap packages is
  not possible, this breaks TexMaths.
  
  I guess there are other extensions that could be affected by this
  problem.
  
  I tested and reproduced the issue in Ubuntu 16.04.3 LTS (64 bits) with
  the snap package of LibreOffice 5.4.4.2.
+ 
+ Here is a link to download and test TexMaths (please note that texlive
+ must be installed before) : http://roland65.free.fr/texmaths/

-- 
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:
  Libreoffice snap permission restriction on /usr breaks TexMaths
  extension

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1747875/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to