File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ rm -rf $TMPDIR
141141# ## Permissions ################################################################
142142# ###############################################################################
143143echo " (6/9) Adding mount points..."
144- singularity exec --writable --contain $new_container_name /bin/sh -c " mkdir -p mkdir /oasis /projects /scratch /local-scratch /work /home1 /corral-repl /beegfs /share/PI"
144+ singularity exec --writable --contain $new_container_name /bin/sh -c " mkdir -p mkdir /oasis /projects /scratch /local-scratch /work /home1 /corral-repl /beegfs /share/PI /extra "
145145
146146# making sure that any user can read and execute everything in the container
147147echo " (7/9) Fixing permissions..."
@@ -150,10 +150,10 @@ if grep -q Buildroot /etc/issue ; then
150150 # we're running on a Builroot container and need to use Busybox's find
151151 echo " We're running on BusyBox/Buildroot"
152152 singularity exec --writable --contain $new_container_name /bin/sh -c " find / -type f -or -type d -perm -u+x,o-x -not -path '/dev*' -not -path '/proc*' -not -path '/sys*' -exec chmod a+x '{}' \;"
153- else
153+ else
154154 echo " We're not running on BusyBox/Buildroot"
155155 singularity exec --writable --contain $new_container_name /bin/sh -c " find / -executable -perm -u+x,o-x -not -path '/dev*' -not -path '/proc*' -not -path '/sys*' -exec chmod a+x '{}' \;"
156- fi
156+ fi
157157
158158echo " (8/9) Stopping and removing the container..."
159159docker stop $container_id
You can’t perform that action at this time.
0 commit comments