Преглед изворни кода

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

Nicolas Meienberger пре 1 година
родитељ
комит
64ba3a292d
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      packages/cli/src/executors/system/system.executors.ts

+ 1 - 4
packages/cli/src/executors/system/system.executors.ts

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