Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve security of env variables by narrowing envrc permissions (#377)
Tomo stores environment variables (configured through the `env:` tasks) in an `envrc` file. Before this PR, that file had default permissions. On many systems, this could mean the file would be world-readable by any user by default. This PR improves the security of tomo-managed environment variables by calling `chmod 600` when initially creating the `envrc` file. For existing tomo deployments, you may want to manually check the permissions of the `envrc` file and change them if necessary.
- Loading branch information