Skip to content

Commit

Permalink
print file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Nov 14, 2024
1 parent cf076be commit 60b3f31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import glob
import os
import re
import stat

import easybuild.tools.environment as env
from easybuild.easyblocks.generic.configuremake import obtain_config_guess
Expand Down Expand Up @@ -982,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)
os.stat(entry)
print(stat.S_IMODE(os.lstat(entry).st_mode))


PARSE_HOOKS = {
Expand Down

0 comments on commit 60b3f31

Please sign in to comment.