Harden Windows backup ACL preflight
This commit is contained in:
1 parent
940b6c93f9
commit
4c4b51270c
6 files changed
+35
-9
No files matched your search
@@ -20,6 +20,8 @@ verified production backup, so production deployment remains blocked.
|
||||
restrictive ACLs, and the exact `/.backups/` rule in that checkout's local
|
||||
`.git/info/exclude`. Before SSH connects, it also requires at least 100 GiB
|
||||
plus 1 MiB of free D: space, matching the protocol's maximum archive size.
|
||||
The ACL owner and every allowed full-control entry must be the current user,
|
||||
SYSTEM, or local Administrators; other and deny entries fail closed.
|
||||
It writes into a private staging directory, checks the
|
||||
stream size and SHA-256, verifies the archive and manifest, then publishes
|
||||
the complete backup directory without overwriting an existing ID.
|
||||
|
||||
@@ -27,8 +27,9 @@ remains blocked by the backup gate.
|
||||
`conclusion=success`, resolve `main` from `/opt/akyldash/current`, write a
|
||||
durable pending journal before stopping services, and reject an already
|
||||
applied release before downtime. The Windows client checks D: capacity,
|
||||
NTFS/path/ACL, and the local ignore rule before SSH; it requires 100 GiB plus
|
||||
1 MiB free. These code changes remain unverified on Windows and the VPS.
|
||||
NTFS/path/ACL owner and allowed entries, and the local ignore rule before
|
||||
SSH; it requires 100 GiB plus 1 MiB free. These code changes remain
|
||||
unverified on Windows and the VPS.
|
||||
- Synthetic tests cover archive/protocol integrity, helper download rules,
|
||||
artifact/run provenance, receiver publication, release schema, and rollback
|
||||
refusal. Windows ACL, NTFS, PowerShell, SSH alias, Gitea helper against the
|
||||
|
||||
Reference in new issue
Block a user