Hi,
Permission errors on the juju-store-lock file can occur because the Juju CLI was run at one point as root.
You could try as root to clear the /tmp directory or ‘juju-*’ files and ensure you run the CLI as a non-root user to see if that solves the problem.