diff --git a/tm.py b/tm.py index b9a51e0..bfa06aa 100755 --- a/tm.py +++ b/tm.py @@ -58,8 +58,8 @@ namehelp = 'hostname (e.g., n04)' dtfmt = '%d/%m/%y' MAXDAYS = 7 -KERNELVERSION = '5.15.0-25-generic' -FSVERSION = 'jammy' +KERNELVERSION = '6.8.0-49-generic' +FSVERSION = 'noble' NETWORKNODE = 's01' class TmMsg(object): @@ -603,6 +603,8 @@ def filesystem(self, argv): cmd = 'tar xpf {} -C {} --strip-components 1'.format(srcp, dstp) print(cmd) self.run(cmd) + if cmd != 'delete': + return cmd = 'chown {}:{} {}'.format(self.sudo_user, self.sudo_user, dstp) print(cmd) self.run(cmd)