diff options
| author | Jae-Heon Ji <32578710+jaeheonji@users.noreply.github.com> | 2022-04-16 16:11:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-16 16:11:46 +0900 |
| commit | f2a7e73687a3fbdce3ee8ace63f4b741239fd41d (patch) | |
| tree | 132f0f378bb7ee414eb4544532551f19885eb685 /src/install.rs | |
| parent | docs(changelog): copy_on_select option (diff) | |
| download | sl0ppij-f2a7e73687a3fbdce3ee8ace63f4b741239fd41d.tar.gz sl0ppij-f2a7e73687a3fbdce3ee8ace63f4b741239fd41d.tar.xz sl0ppij-f2a7e73687a3fbdce3ee8ace63f4b741239fd41d.zip | |
fix: minor system improvements (#1328)
Diffstat (limited to 'src/install.rs')
| -rw-r--r-- | src/install.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.rs b/src/install.rs index 047c2370..95f1f0db 100644 --- a/src/install.rs +++ b/src/install.rs @@ -36,7 +36,7 @@ pub(crate) fn populate_data_dir(data_dir: &Path) { // We already have the path and the parent through `data_dir` if let Some(parent_path) = path.parent() { fs::create_dir_all(parent_path).unwrap_or_else(|e| log::error!("{:?}", e)); - set_permissions(parent_path).unwrap_or_else(|e| log::error!("{:?}", e)); + set_permissions(parent_path, 0o700).unwrap_or_else(|e| log::error!("{:?}", e)); if out_of_date || !path.exists() { fs::write(path, bytes) .unwrap_or_else(|e| log::error!("Failed to install default assets! {:?}", e)); |
