salt/tests
Erik Johnson 243909f39d file.recurse: Do not convert octal mode string to int (#35309)
* 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.
2016-08-09 13:02:26 -06:00
..
integration file.recurse: Do not convert octal mode string to int (#35309) 2016-08-09 13:02:26 -06:00
perf
pkg/rpm
unit Update runner/wheel unit tests to reflect new key in ret dict 2016-08-09 08:49:52 -05:00
utils Merge branch '2015.5' into '2015.8' 2016-03-28 10:51:23 -06:00
__init__.py
buildpackage.py Merge branch '2015.5' into '2015.8' 2016-05-06 12:04:06 -06:00
committer_parser.py
consist.py
eventlisten.py Subscribe event to bus is optional now 2015-08-03 16:10:38 -06:00
eventlisten.sh Move giant eventlisten.sh example out of the state.event docstring 2015-09-10 13:38:09 -06:00
jenkins.py add tcp transport to jenkins and runtests 2015-07-20 16:56:00 -06:00
minionswarm.py Fix bug preventing minionswarm from working with tcp transport 2015-04-30 12:49:16 -06:00
packdump.py
runtests.py passing lint test 2016-03-06 17:19:08 -05:00
salt-tcpdump.py Revert py3modernize lint changes (#34339) 2016-06-28 16:04:02 -04:00
saltsh.py
wheeltest.py