chore(cli): remove file permissions change before copying them

This commit is contained in:
Nicolas Meienberger 2023-09-02 01:38:29 +02:00
parent aba1781d65
commit 64ba3a292d

View file

@ -73,6 +73,7 @@ export class SystemExecutors {
path.join(rootFolderHost, 'traefik'),
path.join(rootFolderHost, '.env'),
path.join(rootFolderHost, 'VERSION'),
path.join(rootFolderHost, 'docker-compose.yml'),
];
const files600 = [path.join(rootFolderHost, 'traefik', 'shared', 'acme.json')];
@ -208,10 +209,6 @@ export class SystemExecutors {
throw new Error('Tipi needs to run as root to start. Use sudo ./runtipi-cli start');
}
if (sudo) {
await this.ensureFilePermissions(this.rootFolder);
}
spinner.start();
spinner.setMessage('Copying system files...');