Repository navigation
docs(dotfiles): clarify permissions-only group entries and pruning - #14768
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Entire-Checkpoint: 01M5CXGC036A7C3TSQ13W7QADK
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
[Low impact] This documentation-only PR appears safe to merge. SummaryClarifies how permissions-only entries work in dotfile groups.
No actionable issues found. The documentation matches the relevant implementation. No runtime tests were run. Reviews (1) · Last reviewed commit: "docs(dotfiles): clarify permissions-only..." · Reviewed by Greptile |
Instruction counts
No instruction-count regression above 1%. Only instruction counts gate. Wall clock is shown for context — on identical hardware it moves 4-20% run to run. Measured by tak — instruction-counted CLI benchmarks, stored in this repository's git notes.
|
<!-- entire-trail-link-start --> https://entire.io/gh/jdx/mise/trails/927 <!-- entire-trail-link-end --> ### 🚀 Features - **(bootstrap)** accept a shell name in bootstrap.user.login_shell by @jdx in [#14770](#14770) - **(doctor)** render templates in check run, description and hint by @jdx in [#14771](#14771) - **(vfox)** add RUNTIME.cacheDirPath for plugins by @jdx in [#14776](#14776) ### 🐛 Bug Fixes - **(aqua)** handle unterminated string literals in template lexer by @Huge in [#14752](#14752) - **(env)** keep pre-activation PATH entries when the shell deduplicates PATH by @jdx in [#14772](#14772) - **(pipx)** don't pick a case-insensitive `Python` match as the interpreter on macOS by @jdx in [#14769](#14769) - **(release)** sign Windows binaries in a separate workflow run by @jdx in [#14766](#14766) - **(task)** rehash same-size source edits that restore mtime in content-hash mode by @jdx in [#14778](#14778) ### 📚 Documentation - **(dotfiles)** clarify permissions-only group entries and pruning by @jdx in [#14768](#14768) ### 📦️ Dependency Updates - update github actions by @renovate[bot] in [#14753](#14753) - update mise tools by @renovate[bot] in [#14754](#14754) - update github actions by @renovate[bot] in [#14759](#14759) - ignore RUSTSEC-2026-0374 basic-toml unmaintained advisory by @jdx in [f2f2759](f2f2759) - update dependency ubuntu to v26 by @renovate[bot] in [#14756](#14756) - update webpki-root-certs and rustls-webpki for eMudhra CA revocation by @jdx in [#14781](#14781) ### New Contributors - @Huge made their first contribution in [#14752](#14752)
https://entire.io/gh/jdx/mise/trails/930
A group entry that sets only
permissionsdoes not inherit the group'smode: it deploys nothing and only adjusts an existing target. Removing a redundantmode = "copy"from such an entry therefore leaves the previously deployed file orphaned, and--pruneremoves it.The group docs now state this exception under Group entries and under Deselect and remove groups, and show
{ mode = "copy", permissions = "0600" }as the way to deploy and set permissions.Fixes #14764
🤖 Generated with Claude Code
AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable.
Note
Low Risk
Documentation-only change; no runtime or config behavior is modified.
Overview
Documents permissions-only group entries and how they interact with deployment and pruning.
Under Group entries, the docs now state that an entry with only
permissionsdoes not inherit the group'smode, deploys nothing, and only chmods an existing target—and that you need{ mode = "copy", permissions = "0600" }(or similar) to deploy and set permissions together.Under Deselect and remove groups, it clarifies that permissions-only entries do not count as still deploying a file, so removing
modefrom an entry that used to copy/link leaves that file orphaned and removable with--prune.Fixes #14764.
Reviewed by Cursor Bugbot for commit c18aa43. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit