Versions
John Lenton
john.lenton at canonical.com
Sun Nov 1 09:31:00 UTC 2015
On 1 November 2015 at 09:11, Gábor Paller <gaborpaller at gmail.com> wrote:
> Now you got another surprising behaviour.
> Let's say you have a snap called "mysnap" and it has a 'bin' directory,
> containing the executable "prog".
> Deploy the snap, go into /apps/mysnap.sideload/current/bin and execute
> "prog".
> Now update "prog", redeploy, and execute "prog" again.
> Surprise, surprise, it is the old one. Because your shell remained in a
> directory that was "current" at certain point but it is
> not anymore. In order to get the redeployed package, you have to cd
> /apps/mysnap.sideload/current/bin again.
/apps/bin/mysnap.bin is what you run, in both cases; it's even in the
PATH for you.
And in both cases, running /apps/mysnap.sideload/current/bin means
you're running completely unconfined.
More information about the snappy-devel
mailing list