← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

Re: [Merge] lp:~verzegnassi-stefano/ubuntu-docviewer-app/sdcard-read-support into lp:ubuntu-docviewer-app

 

(proposing so I can comment)

Tested this on bq device running vivid. 
Put spread documents between ~/Documents and /media/phablet/2541-1C26/Documents/

$ ls /media/*/*/[Dd][Oo][Cc][Uu][Mm][Ee][Nn][Tt][Ss]/
Manual_Aquaris_E4.1.5_ubuntu_EN.pdf
Manual_Aquaris_E4.5_ubuntu_EN.pdf
Manual_Aquaris_E4 (copy 1).5_ubuntu_EN.pdf
Manual_Aquaris_E4 (copy 2).5_ubuntu_EN.pdf
Manual_Aquaris_E4 (copy 3).5_ubuntu_EN.pdf

Getting apparmor denials. This could be the way we're opening the files? Or it could be apparmor in which case I'll need to raise it with security. What do you think?


[75442.788326] type=1400 audit(1431687898.601:251): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/proc/19201/mounts" pid=19201 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[75442.788511] type=1400 audit(1431687898.601:252): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/proc/19201/mounts" pid=19201 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[75442.788638] type=1400 audit(1431687898.601:253): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/dev/disk/by-label/" pid=19201 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[75443.936524] type=1400 audit(1431687899.751:254): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/proc/19201/mounts" pid=19201 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[75443.936715] type=1400 audit(1431687899.751:255): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/proc/19201/mounts" pid=19201 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[75443.936822] type=1400 audit(1431687899.751:256): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/dev/disk/by-label/" pid=19201 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[75550.614851] type=1400 audit(1431688006.431:257): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/proc/20100/mounts" pid=20100 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[75550.615078] type=1400 audit(1431688006.431:258): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/proc/20100/mounts" pid=20100 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[75550.615226] type=1400 audit(1431688006.431:259): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/dev/disk/by-label/" pid=20100 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
[75551.287657] type=1400 audit(1431688007.101:260): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/proc/20100/mounts" pid=20100 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[75551.287847] type=1400 audit(1431688007.101:261): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/proc/20100/mounts" pid=20100 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011
[75551.287954] type=1400 audit(1431688007.101:262): apparmor="DENIED" operation="open" profile="com.ubuntu.docviewer_docviewer_0.3.latest" name="/dev/disk/by-label/" pid=20100 comm="ubuntu-docviewe" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0

-- 
https://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/sdcard-read-support/+merge/259230
Your team Ubuntu Document Viewer Developers is requested to review the proposed merge of lp:~verzegnassi-stefano/ubuntu-docviewer-app/sdcard-read-support into lp:ubuntu-docviewer-app.


References