mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update file.py
This commit is contained in:
parent
85d461f748
commit
996b431252
1 changed files with 1 additions and 1 deletions
|
@ -3645,7 +3645,7 @@ def copy(
|
|||
ret['changes'] = {name: source}
|
||||
# Preserve really means just keep the behavior of the cp command. If
|
||||
# the filesystem we're copying to is squashed or doesn't support chown
|
||||
# then we shouldn't be checking permissions
|
||||
# then we shouldn't be checking anything.
|
||||
if not preserve:
|
||||
__salt__['file.check_perms'](name, ret, user, group, mode)
|
||||
except (IOError, OSError):
|
||||
|
|
Loading…
Add table
Reference in a new issue