Update file.py

This commit is contained in:
Ryan Lane 2015-05-19 17:33:14 -07:00 committed by rallytime
parent 85d461f748
commit 996b431252

View File

@ -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):