From 9beb55894db6bb12725d27d608edbe9a75644b8c Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 18 Dec 2023 13:45:36 +0100 Subject: live: refine existing logging - suggest to check permissions in samba folder - fix typo, s/filesyste/filesystem/ --- src/live/ogOperations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/live') diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 1729a0b..f3b647e 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -444,7 +444,7 @@ class OgLiveOperations: cambiar_acceso(user=self._smb_user, pwd=self._smb_pass) if os.access(f'/opt/opengnsys/images', os.R_OK | os.W_OK) == False: - logging.error('Cannot open /opt/opengnsys/images') + logging.error('Cannot access /opt/opengnsys/images in read and write mode, check permissions') raise ValueError('Cannot access image folder') if os.access(f'{image_path}', os.R_OK) == True: @@ -489,7 +489,7 @@ class OgLiveOperations: except: self._restartBrowser(self._url) logging.exception('Exception when running "image create" subprocess') - raise ValueError(f'Error: Cannot create image for {fstype} filesyste in device {padev}') + raise ValueError(f'Error: Cannot create image for {fstype} filesystem in device {padev}') try: st = os.stat(image_path) -- cgit v1.2.3-18-g5258