Need to add read permission to SD Card

Bug #1645041 reported by Michael S. on 2016-11-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uNav
Wishlist
Unassigned

Bug Description

Because of the limited space on the phone, a read permission to SD Card would be helpful.

phablet@ubuntu-phablet:~$ cd ~/.local/share/navigator.costales/
phablet@ubuntu-phablet:~/.local/share/navigator.costales$ ls -l
total 16
-rw-r--r-- 1 phablet phablet 7168 Apr 15 2016 cookies.sqlite
-rw-r--r-- 1 phablet phablet 0 Apr 15 2016 cookies.sqlite-journal
drwxrwxr-x 2 phablet phablet 4096 Nov 26 21:43 Databases
drwx------ 2 phablet phablet 4096 Sep 6 2015 Local Storage
lrwxrwxrwx 1 phablet phablet 34 Nov 26 21:02 maps -> /media/phablet/<label>/uNav/maps

But this only works with a manual change of the apparmor profile:

[sudo] password for phablet:
root@ubuntu-phablet:~# vi /var/lib/apparmor/profiles/click_navigator.costales_navigator_0.XX
.
.
  # SD card: /media/<user>/<label>/...
  owner /media/*/*/uNav/ r,
  owner /media/*/*/uNav/** rwk,
  /media/*/ r,
  ###
.
.

and reload of the profile.

costales (costales) wrote :

Hi!
I can't do anything until the system allows that.
I'll keep the bug opened.
A hug!

Changed in unav:
status: New → Triaged
importance: Undecided → Wishlist
Michael S. (i-mich9el-s) wrote :

Another issue should be solved, before using the SD-card:

https://bugs.launchpad.net/ubuntu/+source/gallery-app/+bug/1647692

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers