In this article
Treat ACL file edits, successful policy replacement and memory-to-file saves as separate transitions.
The operational scenario
A cache policy file is narrowed during an incident, but the reload returns a syntax error on an unrelated user line. The operator sees the corrected file on disk and assumes the broader permission is gone. Redis can still be applying the previous in-memory ACL set. The security review must identify the active policy generation, not merely the newest file or the attempted reload time.
The trust-boundary mechanism
ACL LOAD replaces current rules from the configured external ACL file only if every line is valid. If any line is invalid, the documented behavior is to load nothing and retain the old rules. ACL SAVE travels in the opposite direction, writing current memory rules to the file. Saving after a failed load can therefore preserve the old effective policy rather than apply the intended disk edit.
Define the control contract
Define the desired complete ACL state, its reviewed file identity and the expected replacement acknowledgment. Keep policy application separate from application-data backup restoration. Identify which process owns external ACL persistence and which mode the server uses. The Redis tutorial explicitly says CONFIG REWRITE does not trigger ACL SAVE for an external ACL file, so a generic configuration-save acknowledgment cannot certify persistence of this policy.
A step-by-step verification
First construct a disposable server and nonsecret synthetic user rules. Preserve its initial effective permissions. Next attempt loading a fixture file with an intentionally invalid unrelated line and observe both the error and retained permission behavior. Correct the file and repeat the load, then verify permitted and forbidden commands through scoped test identities. Test save direction separately, without copying real password hashes into public evidence.
Evidence required for acceptance
Acceptance requires the candidate file identity, complete load result, effective nonsecret permission summary and bounded behavioral controls. Preserve the failed generation alongside the successful one so a later report cannot imply uninterrupted enforcement. A clean file parse outside the actual server is useful preparation but does not prove that server loaded it. Likewise, a working client operation alone cannot establish which full ACL generation remains active.
Failure cases and limits
File replacement and persistence procedures still need protection against unintended writers and recovery mistakes. This article does not claim transactional coordination with every application request or every replica. It isolates Redis documented replacement semantics. The operational conclusion should say whether the intended policy became active, whether it was durably saved through the chosen mode and which access checks support those statements, leaving unsupported fleet-wide claims explicit.
Primary references and related reading
Treat ACL file edits, successful policy replacement and memory-to-file saves as separate transitions. Redis ACL LOAD replacement and all-or-nothing behavior; Redis ACL SAVE memory-to-file direction; Redis ACL command and key permissions.
The proposed investigation of redis acl load failure keeps old policy is a proposed control review; no live security test was executed. Related reading: Retain decryption dependencies for an encrypted etcd restore; GPU cloud team access: API keys and SSH keys have different jobs.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.