File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ services:
121
121
ports :
122
122
- " 10000:10000"
123
123
volumes :
124
- - ./satosa-project:/satosa_proxy:rw
124
+ - ./satosa-project:/satosa_proxy:rwx
125
125
# - satosadata:/satosa_proxy # to be used for external volumes
126
126
working_dir : /satosa_proxy
127
127
entrypoint : " sh entrypoint.sh"
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ function clean_data {
12
12
function initialize_satosa {
13
13
cp env.example .env
14
14
15
- echo " WARNING: creating directories with read/write permissions to anybody"
15
+ echo " WARNING: creating directories with read/write/execute permissions to anybody"
16
16
17
- mkdir -p -m 766 ./satosa-project
18
- mkdir -p -m 766 ./djangosaml2_sp
19
- mkdir -p -m 766 ./mongo/db
20
- mkdir -p -m 766 ./nginx/html/static
17
+ mkdir -p -m 777 ./satosa-project
18
+ mkdir -p -m 777 ./djangosaml2_sp
19
+ mkdir -p -m 777 ./mongo/db
20
+ mkdir -p -m 777 ./nginx/html/static
21
21
22
22
if [ ! -f ./satosa-project/proxy_conf.yaml ]; then cp -R ../example/* ./satosa-project/ ; rm -R ./satosa/static/ ; else echo ' satosa-project directory is already initialized' ; fi
23
23
if [ ! -f ./djangosaml2_sp/run.sh ]; then cp -R ../example_sp/djangosaml2_sp/* ./djangosaml2_sp ; else echo ' djangosaml2_sp directory is already initialided' ; fi
You can’t perform that action at this time.
0 commit comments