Explorar o código

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

Nicolas Meienberger hai 1 ano
pai
achega
64ba3a292d
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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, 'traefik'),
       path.join(rootFolderHost, '.env'),
       path.join(rootFolderHost, '.env'),
       path.join(rootFolderHost, 'VERSION'),
       path.join(rootFolderHost, 'VERSION'),
+      path.join(rootFolderHost, 'docker-compose.yml'),
     ];
     ];
 
 
     const files600 = [path.join(rootFolderHost, 'traefik', 'shared', 'acme.json')];
     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');
         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.start();
       spinner.setMessage('Copying system files...');
       spinner.setMessage('Copying system files...');