-
Notifications
You must be signed in to change notification settings - Fork 5.6k
file.recurse file_mode: keep doesn't work with salt-ssh #54733
Copy link
Copy link
Closed
Labels
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVESalt engineer has confirmed bug/feature - often including a MCVEFeaturenew functionality including changes to functionality and code refactors, etc.new functionality including changes to functionality and code refactors, etc.documentationRelates to Salt documentationRelates to Salt documentationpending-discussionThe issue or pull request needs more discussion before it can be closed or mergedThe issue or pull request needs more discussion before it can be closed or mergedseverity-low4th level, cosemtic problems, work around exists4th level, cosemtic problems, work around existstime-estimate-sprint
Milestone
Metadata
Metadata
Assignees
Labels
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVESalt engineer has confirmed bug/feature - often including a MCVEFeaturenew functionality including changes to functionality and code refactors, etc.new functionality including changes to functionality and code refactors, etc.documentationRelates to Salt documentationRelates to Salt documentationpending-discussionThe issue or pull request needs more discussion before it can be closed or mergedThe issue or pull request needs more discussion before it can be closed or mergedseverity-low4th level, cosemtic problems, work around exists4th level, cosemtic problems, work around existstime-estimate-sprint
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description of Issue
When recursively copying a directory to a minion using the file.recurse state, when using the
file_mode: keepoptions, permissions from the source host on files are not actually kept intact, despite documentation saying they will be:https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.recurse
Setup
Steps to Reproduce Issue
Use salt-ssh to apply the state to a remote system, watch as all files are created with 600 permissions instead of their source permissions.
Versions Report