From 7d0d52ceaee1d6582dcee856c4368ddecbc465d2 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 9 Oct 2024 09:36:48 +0200 Subject: [PATCH] change perms --- test/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index f4b9c16..ba1a57c 100755 --- a/test/test.js +++ b/test/test.js @@ -141,7 +141,8 @@ describe('Application life cycle test', function () { } async function addPublicKey() { - var publicKey = fs.readFileSync(__dirname + '/id_ed25519.pub', 'utf8'); + const publicKey = fs.readFileSync(__dirname + '/id_ed25519.pub', 'utf8'); + execSync(`chmod g-rw,o-rw ${__dirname}/id_ed25519`); // ssh will complain about perms later await browser.get('https://' + app.fqdn + '/user/settings/keys');