<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">666 doesn't work, because all
      /usr/share (sub)dirs are <em>755:<br>
      </em><em><em>(rwxr-xr-x)</em> The directory owner (i.c. root) has
        full access. All others may list the directory, but cannot
        create files nor delete them. This setting is common for
        directories that you wish to share with other users.<br>
      </em><br>
      r<br>
      wim<br>
      <br>
      <br>
      On 01/09/2014 12:18 PM, Wim de Vries wrote:<br>
    </div>
    <blockquote cite="mid:52CE858C.3090901@xs4all.nl" type="cite">Thanks.
      <br>
      On 01/09/2014 09:40 AM, Jonni Rainisto wrote:
      <br>
      <blockquote type="cite">IMHO (Only my personal view, not official
        answer).
        <br>
        <br>
        I would not copy readonly data to $XDG_CONFIG_HOME/$NAME, I
        would only copy the readwrite parts off from usr/share/appname.
        <br>
        And I would define the map data chmod 666 in spec so I could
        programitically remove the data.
        <br>
      </blockquote>
      I like your idea.
      <br>
      Hardly any experience with RPM though. I'll have to dive into
      that.
      <br>
      <br>
      Sailfish people: please confirm if this is an allowed option.
      <br>
      Thanks.
      <br>
      <br>
      R
      <br>
      wim
      <br>
      <br>
      <blockquote type="cite">
        <br>
        ________________________________________
        <br>
        From: <a class="moz-txt-link-abbreviated" href="mailto:devel-bounces@lists.sailfishos.org">devel-bounces@lists.sailfishos.org</a>
        [<a class="moz-txt-link-abbreviated" href="mailto:devel-bounces@lists.sailfishos.org">devel-bounces@lists.sailfishos.org</a>] on behalf of Wim de Vries
        [<a class="moz-txt-link-abbreviated" href="mailto:wsvries@xs4all.nl">wsvries@xs4all.nl</a>]
        <br>
        Sent: Thursday, January 09, 2014 10:05 AM
        <br>
        To: <a class="moz-txt-link-abbreviated" href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a>
        <br>
        Subject: [SailfishDevel] How to install user (controlled) data
        files for my     app avoiding /usr/share
        <br>
        <br>
        Hi,
        <br>
        I am converting my aircraft navigation app to Sailfish.
        <br>
        It comes (default) with OpenStreet based maps + 3D data files of
        Western
        <br>
        Europe (in RPM).
        <br>
        Most users will use this map, but some users may use their home
        made
        <br>
        maps (generated by a PC application).
        <br>
        In the latter case, the users will delete this W-Europe map (it
        takes up
        <br>
        quite some disk space).
        <br>
        So far so good, but the installation/RPM is a problem:
        <br>
        <br>
        Harbour says that I should install the app data (very much bytes
        for the
        <br>
        W-Eu map) in /usr/share/$NAME and in the first run of the app,
        copy them
        <br>
        to $XDG_CONFIG_HOME/$NAME.
        <br>
        But  now I am stuck with an enormous amount of (useless) data in
        <br>
        /usr/share/$NAME that cannot be removed.
        <br>
        <br>
        Any suggestions?
        <br>
        Thanks.
        <br>
        _______________________________________________
        <br>
        SailfishOS.org Devel mailing list
        <br>
        _______________________________________________
        <br>
        SailfishOS.org Devel mailing list
        <br>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      SailfishOS.org Devel mailing list
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>