-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
state.file.directory recursive chown breaks due to missing follow_symlinks handling #12209
Labels
Bug
broken, incorrect, or confusing behavior
severity-low
4th level, cosemtic problems, work around exists
Milestone
Comments
Thanks for the complete report. We'll look into getting |
It's a little more complicated than this, as the follow_symlinks support to set perms via I'm taking care of this. |
Integration tests added for this case. See #12281 for details. |
terminalmage
added a commit
to terminalmage/salt
that referenced
this issue
Apr 25, 2014
terminalmage
added a commit
to terminalmage/salt
that referenced
this issue
Apr 25, 2014
Not all platforms have a "nobody" user, this commit changes these tests to use a "test12209" user/group for these tests.
s0undt3ch
pushed a commit
to s0undt3ch/salt
that referenced
this issue
Apr 26, 2014
s0undt3ch
pushed a commit
to s0undt3ch/salt
that referenced
this issue
Apr 26, 2014
Not all platforms have a "nobody" user, this commit changes these tests to use a "test12209" user/group for these tests.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
broken, incorrect, or confusing behavior
severity-low
4th level, cosemtic problems, work around exists
Hey,
I have been struggling with recursive file.directory chown issue. I noticed salt is failing with nonsense (Failed to change user to x) error message when reaching a symlink in the target directory. After changing the owner of the symlinks manually with chown -h command the script pass. Please add follow_symlinks option to state file.directory.
Thanks,
Zsolt
Reproducing the problem
Preparation:
/srv/salt/test.sls content
Test#2
Test#2 - After manual chown -h nobody /tmp/dir/2 the script pass:
The text was updated successfully, but these errors were encountered: