mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add option to _check_perms
This commit is contained in:
parent
80883d6492
commit
883138b850
@ -832,7 +832,7 @@ def directory(name,
|
||||
return _error(ret, 'Failed to create directory {0}'.format(name))
|
||||
|
||||
# Check permissions
|
||||
ret, perms = _check_perms(ret, user, group, mode)
|
||||
ret, perms = _check_perms(name, ret, user, group, mode)
|
||||
|
||||
if recurse:
|
||||
if not set(['user', 'group']) >= set(recurse):
|
||||
|
Loading…
Reference in New Issue
Block a user