formatting ignored for now since the code that is to be formated will likely be moved elsewhere
WRITE_MODE = 1
EXECUTE_MODE = 2
+
def kresd_accesible(dest_path: Path, perm_mode: int) -> bool:
chflags = [
[stat.S_IRUSR, stat.S_IRGRP, stat.S_IROTH],
logger.error(e)
return 1
- except PermissionError as e:
- logger.error(f"Reading of the configuration file failed: {e}")
- # logger.error("Insufficient permissions")
- return 1
-
except BaseException:
logger.error("Uncaught generic exception during manager inicialization...", exc_info=True)
return 1