-
Notifications
You must be signed in to change notification settings - Fork 216
Description
When I add a line "skipsteps = ['permissions']" to an easyconfig, I would expect EB to skip its setting of permissions on the files and directories installed. However, it does not skip this. I attach an easyconfig containing this parameter, and the log file from running a build using it.
USEARCH-11.0.667-i86linux32.eb.txt
easybuild-USEARCH-11.0.667-20210621.142829.log
The resulting installed file 'usearch' ends up with a permissions mode of 555. It should retain the mode of 111 that is successfully set in the install_cmd commands, but which is then undone by EB.
I believe there could be a bug here.
Please note that my objective here is to end up with an installed file having a permissions mode of 111, and I am not really wanting EB to skip its entire 'permissions' step. Skipping that step was simply suggested as a way to achieve my objective, in the Slack thread https://easybuild.slack.com/archives/C34UA1HT7/p1624266336284100. Ideally I would have a way simply to specify the permissions mode of an installed file via a new easyconfig parameter. I shall raise a separate issue for that.