Skip to content

Commit

Permalink
fix failed integration test with permission error on db-key.pem
Browse files Browse the repository at this point in the history
  • Loading branch information
nanjiangshu committed Dec 8, 2024
1 parent c008370 commit 0f4d694
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions sda-download/dev_utils/compose-sda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ services:
- -c
- |
cp /origcerts/* /certs
chown -R nobody.nobody /certs/*
chown -R nobody:nobody /certs/*
chmod -R 644 /certs/*
chmod -R og-rw /certs/*-key.pem
chown -R 70.70 /certs/db*
chown -R 70:70 /certs/db*
ls -la /certs/
container_name: certfixer
image: alpine:latest
image: alpine:latest
volumes:
- ./certs:/origcerts
- certs:/certs
Expand Down
6 changes: 3 additions & 3 deletions sda-download/dev_utils/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ services:
- -c
- |
cp /origcerts/* /certs
chown -R nobody.nobody /certs/*
chown -R nobody:nobody /certs/*
chmod -R 644 /certs/*
chmod -R og-rw /certs/*-key.pem
chown -R 70.70 /certs/db*
chown -R 70:70 /certs/db*
ls -la /certs/
container_name: certfixer
image: alpine:latest
image: alpine:latest
volumes:
- ./certs:/origcerts
- certs:/certs
Expand Down

0 comments on commit 0f4d694

Please sign in to comment.