Skip to content

Release v3.165.12

Choose a tag to compare

@github-actions github-actions released this 01 Dec 01:54
61a72f7

Changed

  • Environment commands (cratis env ...), cratis init and environment selection refuse symbolic links and junctions below the project directory (in .cratis, .cratis/environments, .cratis/local, selection files and .gitignore) and report a validation error instead of following them. A project directory that is itself reached through a link still works, and cloud placeholder files (for example OneDrive Files On-Demand) are not treated as links.
  • Environment and selection files are written through a new file in the same directory and then moved into place, with owner-only permissions on macOS and Linux.
  • .gitignore is updated in place and keeps its permissions. cratis env select adds the ignore entry before changing the selected environment, so a failure leaves the previous selection unchanged.

Security

  • Links committed to a repository can no longer redirect environment files, selections or .gitignore updates to locations outside the project.