1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #8532 from piffey/8502_acl

Issue 8502: Fixed bug where failed when permissions weren't specified.
This commit is contained in:
Michael DeHaan 2014-08-11 08:15:27 -04:00
commit e66e4adedc

View file

@ -211,11 +211,14 @@ def main():
entry = module.params.get('entry')
entity = module.params.get('entity')
etype = module.params.get('etype')
permissions = normalize_permissions(module.params.get('permissions'))
permissions = module.params.get('permissions')
state = module.params.get('state')
follow = module.params.get('follow')
default = module.params.get('default')
if permissions:
permissions = normalize_permissions(permissions)
if not os.path.exists(path):
module.fail_json(msg="path not found or not accessible!")