In this article
Check newly created and existing env files separately when enabling evaluation tracing; owner-only creation does not promise to repair every pre-existing file.
CrewAI 1.15.38, published on November 8 at 19:39:30 UTC, fixes the permission mode of a missing project .env created when evaluation enables tracing. The patch sets owner-only creation rather than relying on a typical process umask. It is a newly delivered fix this week even though its implementation merged earlier.
Create under a known process umask
Use a disposable project with no .env and a known ordinary umask, then enable tracing through the evaluation flow. Inspect the resulting file mode through the operating system rather than inferring it from contents. The new file can contain only a non-secret flag at this step, but it may later receive credentials. Creation-time permissions therefore deserve verification before real keys are ever written into that project.
Existing files are a different case
Repeat with an owner-only file containing synthetic key markers and with a pre-existing broader-mode file. Compare mode and preserved content. The PR does not turn this tracing helper into a general permissions repair mechanism. An operator should not conclude that running evaluation has tightened every historical .env simply because a newly created fixture is private. Record the existing-file behavior explicitly in the migration evidence.
The CLI and Evaluate button share a path
Exercise both entry points used by the organization if it supports CLI evaluation and the run interface’s Evaluate action. Confirm each reaches the intended file in the intended project. A private file written into the wrong working directory does not satisfy the application’s configuration contract. Keep synthetic content and inspect before-and-after bytes so enabling tracing cannot silently replace unrelated settings or remove existing test credentials.
Mode bits are one part of the environment boundary
Document the tested platform, owner, file mode and evaluation entry point. A POSIX mode check does not establish equivalent enforcement by every operating system or shared filesystem. The delivered patch is a concrete creation-mode correction, not a complete secret-storage redesign. A useful acceptance result proves the intended new file is private, preserves known existing content and names the cases requiring separate treatment in the organization’s environment.
Sources
Related reading
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.