mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
243909f39d
* Add integration test for #34945 * file.recurse: Do not convert octal mode string to int When we run file.makedirs_perms to create the dest directory, we pass through the mode to file.check_perms. However, file.check_perms expects an octal string, not an int. This causes the initial directory to be chmod'ed to the wrong mode. When there are files in the source directory, file.recurse will invoke the file.directory state to manage files/dirs in that directory, and this ends up correcting the mode as we simply pass the dir_mode to it. However, when there are only directories in the source directory, this never happens and the incorrect mode remains on the destination directory. Fixes #34945. |
||
---|---|---|
.. | ||
integration | ||
perf | ||
pkg/rpm | ||
unit | ||
utils | ||
__init__.py | ||
buildpackage.py | ||
committer_parser.py | ||
consist.py | ||
eventlisten.py | ||
eventlisten.sh | ||
jenkins.py | ||
minionswarm.py | ||
packdump.py | ||
runtests.py | ||
salt-tcpdump.py | ||
saltsh.py | ||
wheeltest.py |