Skip to content

Commit

Permalink
fix: change SQLite database mode to 0600 (#2344)
Browse files Browse the repository at this point in the history
The default mode is 0644, which is allows broader access than necessary.
  • Loading branch information
drigz committed Mar 28, 2022
1 parent 5efe4a3 commit 0e5d3b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .docker/Dockerfile-build
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ADD internal/httpclient/go.* internal/httpclient/

ENV GO111MODULE on
ENV CGO_ENABLED 1
ENV CGO_CPPFLAGS -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600

RUN go mod download

Expand Down

0 comments on commit 0e5d3b7

Please sign in to comment.