Comment 5 for bug 1524293

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote : Re: Deleting a document from Viewer does not work

The log has been really helpful, so thank you again!
Finally I've been able to reproduce it on my device.

The issue only happens when trying to delete a file from the SD card.

Relevant output of 'sudo dmesg | grep DEN':
[11669.122182] type=1400 audit(1449695726.600:234): apparmor="DENIED" operation="unlink" profile="com.ubuntu.docviewer_docviewer_2.0.226" name="/media/phablet/3C6E-3A51/Documents/2.pdf" pid=24169 comm="ubuntu-docviewe" requested_mask="d" denied_mask="d" fsuid=32011 ouid=32011

After a check at the application AppArmor template, I've seen that we don't have write permissions for adding/editing/removing files in the SD card.

I'm planning to fix it for the next Document Viewer release.

Thanks again!