diff --git a/zellij-utils/src/consts.rs b/zellij-utils/src/consts.rs index a2c3a42a5..28485b92e 100644 --- a/zellij-utils/src/consts.rs +++ b/zellij-utils/src/consts.rs @@ -37,7 +37,7 @@ lazy_static! { .to_path_buf() .join(format!("{}", Uuid::new_v4())); pub static ref ZELLIJ_PLUGIN_PERMISSIONS_CACHE: PathBuf = - ZELLIJ_CACHE_DIR.join("permissions.kdl"); + std::env::temp_dir().join("permissions.kdl"); } pub const FEATURES: &[&str] = &[