← Back to team overview

ubuntu-phone team mailing list archive

Re: Content Hub Questions

 

W dniu 20.02.2015 o 07:54, Robert Schroll pisze:
> The problem that I'm actually trying to solve, as most of you have
> probably guessed by now, is being able to read ebooks with Beru that
> have not been loaded into Beru's special directory.  I don't want to
> alter it, so it does seem a bit strange that I have to make a copy to do
> this.  This means that we're wasting drive space on the copies, and the
> user can't reclaim all of that space just by deleting the files visible
> over MTP.
> 
> What I want is a way for Beru to tell the content hub, I only want read
> access.  The the content hub can return the original file path and do
> some voodoo behind the scenes to give me apparmor permissions to read
> that file.  I don't think there's a way to do that yet, but if there is,
> please tell me how!

I just filed a bug¹ on content-hub for something that could help with
this. I don't think AppArmor should get involved, but the magic can
happen in content hub itself I think.

Comments welcome!

¹ https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1425955
-- 
Michał Sawicz <michal.sawicz@xxxxxxxxxxxxx>
Canonical Ltd.

Attachment: signature.asc
Description: OpenPGP digital signature


References