Adding simple permissions

Douglas Summers ajgringo619 at cox.net
Mon Aug 26 03:51:50 UTC 2019


On Sun, 2019-08-25 at 22:49 -0500, Ryan Gonzalez wrote:
> The CD one definitely isn't right, I've ripped several CDs via
> Flatpak'd RubyRipper and fre:ax just fine... For the record, the
> issue tracking CD/DVD support without needing device=all is tracked
> by: https://github.com/flatpak/flatpak/issues/12
> 
> Are you able to run any CLI commands to examine the drive from your
> host system? IIRC some distros require root to read from CD drives.
> 
> Also I mixed up your comments, sending emails should also definitely
> work. Do you have a default email client configured? If you run
> `flatpak --command=bash org.libreoffice.Libreoffice`, then run `xdg-
> email some at email.com` from inside that shell, does it work? Do you
> see any errors?
> 
> 
> On Sun, Aug 25, 2019, 9:21 PM Douglas Summers <ajgringo619 at cox.net>
> wrote:
> > On Sun, 2019-08-25 at 21:14 -0500, Ryan Gonzalez wrote:
> > > You can already do this, check out 'flatpak override'. 
> > > 
> > > I think the LibreOffice is a known-ish oddity, since the portals
> > > should allow printing IIRC?
> > > 
> > > On Sun, Aug 25, 2019, 4:13 PM Douglas Summers <
> > ajgringo619 at cox.net>
> > > wrote:
> > > > As much as I like Flatpak, the ability to make simple changes
> > to
> > > > the
> > > > programs's permissions is severely lacking. I've already had
> > issues
> > > > with Okular (refuses to see my printer) and LibreOffice (can't
> > send
> > > > a
> > > > file via email). Now I've tried RhythmBox, which refuses to see
> > any
> > > > audio CDs (using a Blu-ray player). While I'm perfectly fine
> > with
> > > > Flatpak's sandboxing features (one of the reasons I really like
> > its
> > > > concept), I just don't understand why these keep cropping up.
> > > > 
> > 
> > flatpak override doesn't work in the aforementioned situations. The
> > closest I got with RhythmBox was using --filesystem=host; it saw
> > the
> > audio CD, but still wouldn't let me access it (--device=all was
> > similarly useless). With Okular, I tried giving away every
> > permission I
> > could find, but nothing worked so I gave up. Again, this should not
> > be
> > this difficult. CDs/DVDs/Printers are all standard devices and
> > should
> > have a reasonably simple way to allow them through the sandbox.
> > 
I posted the LO issue on their Github page, and was told the email
feature needed to be added. The CD problem seems to only be with
Rhythmbox; I use VLC and it works fine.



More information about the Flatpak mailing list