Skip to content

Commit

Permalink
convert permissions to octal value
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Nov 14, 2024
1 parent 60b3f31 commit ace7d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit ace7d7e

Please sign in to comment.