diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-18 13:45:36 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-18 13:47:29 +0100 |
commit | 9beb55894db6bb12725d27d608edbe9a75644b8c (patch) | |
tree | d5fce480e6511c83d20bac755a9bb74184dfd7c2 | |
parent | 32673cf3378e567dfacc23c3cd98af1296b9452a (diff) |
live: refine existing logging
- suggest to check permissions in samba folder
- fix typo, s/filesyste/filesystem/
-rw-r--r-- | src/live/ogOperations.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |