mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-21 15:41:01 +00:00
change perms
This commit is contained in:
parent
f19465b3d6
commit
7d0d52ceae
1 changed files with 2 additions and 1 deletions
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue