Need to add read permission to SD Card

Bug #1645041 reported by Michael S.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uNav
Triaged
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.

Revision history for this message
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
Revision history for this message
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

Revision history for this message
Paul (qr99) wrote :

Note that if you put the file ".nomedia" in the directory /media/<user>/<label>/uNav, then mediascanner will not search for images there. It would be nice if this could be done by default by uNav.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.