File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
31
31
echo " ${HOME} "
32
32
echo " ${PLOTLY_CONFIG_DIR} "
33
33
34
- # test that it imports when you don't have file permissions
35
- chmod 000 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
36
- error_exit " ${LINENO} : permissions test 000 on .plotly dir failed"
34
+ # test that it imports when you don't have write permissions
35
+ chmod -R 400 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
36
+ error_exit " ${LINENO} : permissions test 400 on .plotly dir failed"
37
37
38
- # test that setting permissions will work for import (and tests)
39
- chmod 666 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
40
- error_exit " ${LINENO} : permissions test 666 on .plotly dir failed"
38
+ # test that setting write permissions will work for import (and tests)
39
+ chmod -R 600 ${PLOTLY_CONFIG_DIR} && python -c " import plotly" ||
40
+ error_exit " ${LINENO} : permissions test 600 on .plotly dir failed"
41
41
42
42
echo " running tests for Python ${version} as user '$( whoami) '"
43
43
if [ ${version: 0: 3} == ' 2.7' ]
You can’t perform that action at this time.
0 commit comments