You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The file.symlink state always sets the user/group on the symlink, even when not explicitly set by using the available parameters. This functionality departs from file.managed, which does not alter existing permissions if not explicitly set by parameter.
Describe the solution you'd like
Changing the existing operation to mirror how file.managed handles user/group permissions would be one solution. However, this would change existing outcomes... so we'd probably want a deprecation period. Another solution would be to allow for a switch to "inherit" the permissions from the existing link. This would not impact existing solutions, and would also allow for the switch default to be changed after a deprecation period if desirable.
Describe alternatives you've considered
Current workaround via templating is shown below.
Is your feature request related to a problem? Please describe.
The
file.symlink
state always sets the user/group on the symlink, even when not explicitly set by using the available parameters. This functionality departs fromfile.managed
, which does not alter existing permissions if not explicitly set by parameter.Describe the solution you'd like
Changing the existing operation to mirror how
file.managed
handles user/group permissions would be one solution. However, this would change existing outcomes... so we'd probably want a deprecation period. Another solution would be to allow for a switch to "inherit" the permissions from the existing link. This would not impact existing solutions, and would also allow for the switch default to be changed after a deprecation period if desirable.Describe alternatives you've considered
Current workaround via templating is shown below.
Additional context
Similar to #39360
Please Note
If this feature request would be considered a substantial change or addition, this should go through a SEP process here https://github.com/saltstack/salt-enhancement-proposals, instead of a feature request.
The text was updated successfully, but these errors were encountered: