This commit is contained in:
pwn
2025-12-05 11:14:59 +03:00
parent 376d0fc8ad
commit b79ef3a3f3
8 changed files with 35 additions and 18 deletions

View File

@@ -93,7 +93,7 @@ impl BankStorage {
write_tlv(&mut file, TlvTag::EncryptedDataIv, &patch.encrypted_code.iv)?;
file.write_all(&[TlvTag::End as u8])?;
}
let permissions = std::fs::Permissions::from_mode(0o444);
let permissions = std::fs::Permissions::from_mode(0o600);
std::fs::set_permissions(path, permissions)?;
Ok(())
}