Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(db): change versiondb directory permission from 777 (insecure) to 750 (general) #2072

Merged
merged 4 commits into from
Nov 23, 2023

Conversation

VictorTrustyDev
Copy link
Contributor

@VictorTrustyDev VictorTrustyDev commented Nov 23, 2023

The versiondb directory was created with permission os.ModePerm (777) which is insecure so I changed it to generic permission 750.

In additional, I rename some wrong variable name which pointed out in #2058

@VictorTrustyDev VictorTrustyDev marked this pull request as ready for review November 23, 2023 17:09
@VictorTrustyDev VictorTrustyDev requested a review from a team as a code owner November 23, 2023 17:09
@VictorTrustyDev VictorTrustyDev requested review from facs95 and MalteHerrmann and removed request for a team November 23, 2023 17:09
@VictorTrustyDev VictorTrustyDev changed the title fix(rocksdb): change versiondb directory permission from 777 (insecure) to 750 (general) fix(db): change versiondb directory permission from 777 (insecure) to 750 (general) Nov 23, 2023
Copy link

codecov bot commented Nov 23, 2023

Codecov Report

Merging #2072 (96e2c57) into main (78042ae) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2072   +/-   ##
=======================================
  Coverage   70.40%   70.40%           
=======================================
  Files         344      344           
  Lines       25642    25642           
=======================================
  Hits        18052    18052           
  Misses       6656     6656           
  Partials      934      934           
Files Coverage Δ
precompiles/distribution/distribution.go 83.33% <100.00%> (ø)
precompiles/erc20/erc20.go 52.88% <100.00%> (ø)
precompiles/werc20/werc20.go 69.11% <ø> (ø)

@fedekunze fedekunze merged commit 2130f61 into evmos:main Nov 23, 2023
30 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants