change perms

This commit is contained in:
Girish Ramakrishnan 2024-10-09 09:36:48 +02:00
parent f19465b3d6
commit 7d0d52ceae

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');