Skip to content

Commit

Permalink
fix(tabby): Set directory permissions to 700 instead of 600 (TabbyML#…
Browse files Browse the repository at this point in the history
  • Loading branch information
boxbeam authored Mar 8, 2024
1 parent 636d36e commit 50d4795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tabby/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async fn main() {
#[cfg(target_family = "unix")]
{
let mut permissions = std::fs::metadata(&root).unwrap().permissions();
permissions.set_mode(0o600);
permissions.set_mode(0o700);
std::fs::set_permissions(&root, permissions).unwrap();
}

Expand Down

0 comments on commit 50d4795

Please sign in to comment.