Skip to content

Commit 701ccf8

Browse files
run chmod -R a+rX $(STORE) before creating sqfs (#206)
So that all files in the mounted images can be read by all users.
1 parent 1255be8 commit 701ccf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stackinator/templates/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ post-install: env-meta
8282
store.squashfs: post-install
8383
# clean up the __pycache__ paths in the repo
8484
$(SANDBOX) find $(STORE)/repo -type d -name __pycache__ -exec rm -r {} +
85+
$(SANDBOX) chmod -R a+rX $(STORE)
8586
$(SANDBOX) env -u SOURCE_DATE_EPOCH "$$($(SANDBOX) $(SPACK_HELPER) -e ./compilers/bootstrap find --format='{prefix}' squashfs | head -n1)/bin/mksquashfs" $(STORE) $@ -all-root -all-time $$(date +%s) -no-recovery -noappend -Xcompression-level 3
8687

8788
# Force push all built packages to the build cache

0 commit comments

Comments
 (0)