You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(aws-secrets-inspector): assert runs.log and parent dir are owner-only
Add two POSIX-only tests, one per branch (inspector and retrieve),
that pre-create ~/.cache/claude-grc at 0o755 and runs.log at 0o644
before running collect.js. The pre-creation forces the chmod-after
calls to do real work; without it, fs.mkdir's mode option would
create the dir at 0o700 and fs.appendFile's mode option would create
the file at 0o600 on first run, masking any regression in the
chmod-after path (Node honors the mode option only on creation).
Each test asserts the post-run mode of both the file (0o600) and its
parent directory (0o700).
0 commit comments