change perms

This commit is contained in:
Girish Ramakrishnan 2024-10-09 09:36:48 +02:00
parent f19465b3d6
commit 7d0d52ceae
1 changed files with 2 additions and 1 deletions

View File

@ -141,7 +141,8 @@ describe('Application life cycle test', function () {
} }
async function addPublicKey() { 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'); await browser.get('https://' + app.fqdn + '/user/settings/keys');