Skip to content

Commit 2281718

Browse files
committed
remove sudos and chmods that should not be necessary after we introduced setfacl
1 parent 4cac00a commit 2281718

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

docker/files/run_builddocs.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ set -u
66
mkdir -p /scratch/docs
77
make html 2>&1 | tee /scratch/builddocs.log
88
cp -r /root/src/nipype/doc/_build/html/* /scratch/docs/
9-
chmod 777 -R /scratch/docs
10-
chmod 777 /scratch/builddocs.log
119
cat /scratch/builddocs.log && if grep -q "ERROR" /scratch/builddocs.log; then false; else true; fi

docker/files/run_examples.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ coverage run /root/src/nipype/tools/run_examples.py $@
1515
arr=$@
1616
tmp_var=$( IFS=$' '; echo "${arr[*]}" )
1717
coverage xml -o "/scratch/smoketest_${tmp_var//[^A-Za-z0-9_-]/_}.xml"
18-
19-
chmod 777 -R /scratch/logs

docker/files/run_pytests.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ fi
3636

3737
# Copy crashfiles to scratch
3838
for i in $(find /root/src/nipype/ -name "crash-*" ); do cp $i /scratch/crashfiles/; done
39-
chmod 777 -R /scratch/*

docker/files/teardown.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ set -u
77
set -e
88

99
mkdir -p ${CIRCLE_TEST_REPORTS}/pytest
10-
sudo mv ~/scratch/*.xml ${CIRCLE_TEST_REPORTS}/pytest
10+
mv ~/scratch/*.xml ${CIRCLE_TEST_REPORTS}/pytest
1111
mkdir -p ~/docs
12-
sudo mv ~/scratch/docs/* ~/docs/
12+
mv ~/scratch/docs/* ~/docs/
1313
mkdir -p ~/logs
14-
sudo mv ~/scratch/builddocs.log ~/logs/builddocs.log
15-
sudo mv ~/scratch/logs/* ~/logs/
14+
mv ~/scratch/builddocs.log ~/logs/builddocs.log
15+
mv ~/scratch/logs/* ~/logs/

0 commit comments

Comments
 (0)