From ace7d7e81571dd3130120958e55a129ffd8281c0 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Thu, 14 Nov 2024 11:33:52 +0100 Subject: [PATCH] convert permissions to octal value --- eb_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_hooks.py b/eb_hooks.py index 9601aa1264..b4a9affddf 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -983,7 +983,7 @@ def pre_package_eessi_extend(self, *args, **kwargs): dir_tree.append(os.path.join(root, f)) for entry in dir_tree: print(entry) - print(stat.S_IMODE(os.lstat(entry).st_mode)) + print(oct(stat.S_IMODE(os.lstat(entry).st_mode))) PARSE_HOOKS = {