Commit 388bde6
Refactor snapshot dir creation to use secure permissions
Replaced `fs::create_dir_all` with `crate::paths::create_secure_dir_all` in `src/commands/snapshot.rs` to ensure the snapshot directory is created with secure default permissions (0o700) instead of relying on the system's default umask.
Co-authored-by: bitcoiner-dev <75873427+bitcoiner-dev@users.noreply.github.com>1 parent 25d33d3 commit 388bde6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments