ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #13499
Re: Offline routing with maps on SD-card (was Re: [Ubuntu-phone ][ubuntu-phone] Offline routing application - Publishing problems)
Hello all,
from my experience with another app: A simple soft link will not work.
However, you can temporary make the root file system writeable and add
an entry in the /etc/fstab which mounts
the .local/share/osmscout.fransschreuder/ folder on the sd card.
Best regards,
Marco
Am Samstag, den 20.06.2015, 00:19 +0200 schrieb Frans Schreuder:
> There is one possible fix, until the reviewers press the freakin' button
> "manual review approved".
> Just go to Github, download the sourcecode.
> Install ubuntu-sdk and open
> libosmscout/OSMScout/OSMScout.pro
>
> Edit OSMScout.apparmor and paste the following content:
>
> {
> "policy_groups": [
> "location",
> "networking",
> "audio"
> ],
> "policy_version": 1.3,
> "read_path": [
> "/media/",
> "@{HOME}/Documents/[Mm][Aa][Pp][Ss]/"
> ],
> "write_path": [
> "/media/*/*/[Mm][Aa][Pp][Ss]/",
> "@{HOME}/Documents/[Mm][Aa][Pp][Ss]/"
> ]
> }
>
> Then compile and install on device. That should give you access to the
> SD card.
> It may also help if more people complain about this issue... Security
> measures don't help if they are so stringent that people start looking
> for workarounds.
>
>
> On 06/20/2015 12:02 AM, Torsten Sachse wrote:
> > On Fri, 19 Jun 2015, Frans Schreuder wrote:
> >
> >> The problem is that the current version of Ubuntu doesn't allow read
> >> access to the SD card, unless you
> >> specify a rule in the apparmor file.
> > [...]
> >> For now I published a version of OSMScout without the special rules,
> >> so it only allows read / write
> >> access to maps located in
> >> $HOME/.local/share/osmscout.fransschreuder/Maps
> >
> > Hi Frans & developers,
> >
> > do you reckon this problem could be temporarily fixed by creating a
> > soft link
> > to a directory on the SD-card or would that sill require that special
> > apparmor
> > rule? If a simlink does not work, it might help to create an image as a
> > container on the SD-card and mount it to the folder mentioned above. I
> > don't
> > want to circumvent any system security but I'm rather wondering
> > whether there
> > is a temporary way to still have the maps on the SD-card. Will try
> > both ways
> > tomorrow or on Sunday.
> >
> > Torsten
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help : https://help.launchpad.net/ListHelp
Attachment:
signature.asc
Description: This is a digitally signed message part
References