From dfa0f8043ff743e69f6773cca022653506e60c59 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 30 Jan 2025 08:11:57 -0500 Subject: [PATCH] fix: Fix persistent state mode in chattr command --- internal/cmd/chattrcmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/chattrcmd.go b/internal/cmd/chattrcmd.go index 0017b8ac466..a4bb298aa98 100644 --- a/internal/cmd/chattrcmd.go +++ b/internal/cmd/chattrcmd.go @@ -83,7 +83,7 @@ func (c *Config) newChattrCmd() *cobra.Command { ValidArgsFunction: c.chattrCmdValidArgs, RunE: c.makeRunEWithSourceState(c.runChattrCmd), Annotations: newAnnotations( - persistentStateModeReadOnly, + persistentStateModeReadWrite, modifiesSourceDirectory, requiresSourceDirectory, ),