mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 20:13:59 -07:00
Fix for file module with recursive permission setting and broken symlinks
There was a traceback when setting permissions on a directory tree when there were broken symlinks inside of the tree and follow=true. chmod -R ignores broken symlinks inside of the tree so we've fixed the file module to do the same. Fixes #39456
This commit is contained in:
parent
4f664f8ff6
commit
6b159fdb03
3 changed files with 20 additions and 5 deletions
5
changelogs/fragments/file-nonexitent-link-recurse.yaml
Normal file
5
changelogs/fragments/file-nonexitent-link-recurse.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
bugfixes:
|
||||
- file module - Fix error when recursively assigning permissions and
|
||||
a symlink to a nonexistent file is present in the directory tree
|
||||
(https://github.com/ansible/ansible/issues/39456)
|
Loading…
Add table
Add a link
Reference in a new issue