Skip to content

Commit

Permalink
[nf, insecure, do not use] chmod abuse
Browse files Browse the repository at this point in the history
  • Loading branch information
aofarrel committed Jul 26, 2021
1 parent a14b64d commit cad169d
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions vcf-to-gds/vcf-to-gds.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,22 @@ task unique_variant_id {
# Symlinks would be preferable, but they do not work on GCS
# This is known as the twice-localized workaround
#echo "Twice-localized workaround: Copying GDS inputs into the workdir"
ls -lha .
echo "-------------------"
echo "-------------------"
ls -lha ../*
echo "-------------------"
echo "-------------------"
ls -lha ../*/*
echo "-------------------"
echo "-------------------"

BASH_FILES=(~{sep=" " gdss})

for BASH_FILE in ${BASH_FILES[@]};
do
echo "attempting to ls"
ls -lha ${BASH_FILE}
echo "attempting to ln"
ln -s ${BASH_FILE} .
done

echo "attempting to ls one last time"
ls -lha
echo "-------------------"
echo "-------------------"

#echo "horribly abusing chmod"
#chmod -R 777 *

echo "Generating config file"
python << CODE
Expand Down

0 comments on commit cad169d

Please sign in to comment.