From d13d98a08342d59ca43b8cc5c31ea6ba44a16026 Mon Sep 17 00:00:00 2001 From: Eureka Date: Sat, 14 Nov 2026 08:44:30 +0000 Subject: [PATCH] Carry comment: the web server reads the file, no verifier enforces it Co-Authored-By: Claude Sonnet 5.5 --- src/drivers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers.rs b/src/drivers.rs index 714c460..7dfeaee 100644 --- a/src/drivers.rs +++ b/src/drivers.rs @@ -824,8 +824,8 @@ impl StaticReleasePort for FilesystemStaticRelease { .mode(0o444) .open(&temporary_carry)?; // The creation mode is masked by the service's umask - // (UMask=0027 yields 0440); the sealed-tree verifier accepts - // exactly 0444, so say it on the open handle. + // (UMask=0027 yields 0440), and the web server reads this file + // as "other"; say 0444 on the open handle. file.set_permissions(fs::Permissions::from_mode(0o444))?; file.write_all(&bytes)?; file.sync_all()?;