symlink creation during installation
mauro at freedomotic.com
mauro at freedomotic.com
Tue Jun 9 13:57:46 UTC 2015
Hi
I'm trying to do
cp -r ${appdir}/freedomotic/plugins ${datadir}
rm -r ${appdir}/freedomotic/plugins ${datadir}
cp -r ${appdir}/freedomotic/data ${datadir}
rm -r ${appdir}/freedomotic/data ${datadir}
ln -s ${datadir}/plugins/
ln -s ${datadir}/data/
in my app bin script.
It's needed to work on writable folders.
But these operations are not allowed after app installation because the
folder is read-only.
I must do them as "sudo" manually. Is there any way to execute them during
app installation?
Thanks
Mauro
On Thu, June 4, 2015 10:43 am, mauro at freedomotic.com wrote:
> Hi all
> is there any way to create a symlink during app installation? I have some
> writable folders in our application. I can move or copy them to snappy
> DATA_PATH but I need to refer them from APP installation folder.
> Their path can't be modified and /apps/* is read-only.
> Any idea?
>
>
> Thanks
> Mauro
>
>
> --
> snappy-devel mailing list snappy-devel at lists.ubuntu.com Modify settings or
> unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>
More information about the snappy-devel
mailing list