Make sure that ReFrame script has executable permissions#25338
Make sure that ReFrame script has executable permissions#25338boegel merged 1 commit intoeasybuilders:developfrom
Conversation
Micket
left a comment
There was a problem hiding this comment.
lgtmm i suppose it's a side effect of some sort of copy-on-write filesystem and sed?
|
@boegelbot please test @ jsc-zen3 |
|
@Micket: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 4101560750 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
|
@boegelbot please test @ jsc-zen3 |
|
@boegel: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 4210107123 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
|
Going in, thanks @stevenvdb! |
We noticed that recent ReFrame installations were failing with:
The problem only occurs for when the installation directory is located on Lustre (
lfs 2.15.5.4_cray_11_g915a789specifically), but for instance not when the installation directory is on NFS. The problem is that the postinstallcmddoes not really edit the file in-place, it creates a temporary copy and then replaces the original file. Apparently, on some file systems this removes existing permissions. The proposed changes ensure that the
reframescript has executable permissions at the moment the sanity check is executed.(created using
eb --new-pr)