ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #12227
Re: opening files imported through content-hub
On 04/18/2015 12:11 AM, Darren Smith wrote:
[...]
> I then try to open the file using quazip but get denied by apparmor:
>
> Apr 17 21:56:31 ubuntu-phablet kernel: [226697.166126]type=1400
> audit(1429304191
> .476:898): apparmor="DENIED" operation="open"
> profile="<username>_<appname>_0.1" nam
> e="/home/phablet/.cache/<appname>.<username>/HubIncoming/<number>/example.zip"
> pid=234
> 01 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011
> ouid=32011
>
> Any ideas what I'm doing wrong?
I hope I'm not putting you off track, but I believe that the problem is
that the file is under
~/.cache/<appname>.<username>/
while your app should have access to
~/.cache/<username>/
only. That is, an app whose security label is <package>_<app>_<version>
has access to ~/.cache/<package>/ .
HTH,
Alberto
References