Helen Paterson
2014-Sep-08 16:12 UTC
[Puppet Users] Windows ACL - multiple account permission -Example
Hi,
I am trying to give multiple users modify access to a file. I can give one
user access fine:
acl { 'D:/Repositories':
permissions => [
{ identity => 'Administrators', rights =>
['full'] },
{ identity => 'Users', rights =>
['read','execute'] },
{ identity => 'Ecommerce Admins', rights =>
['modify'] },
],
}
However adding multiple users , causes puppet to change the file
permissions over and over again.
acl { 'D:/Repositories':
permissions => [
{ identity => 'Administrators', rights =>
['full'] },
{ identity => 'Users', rights =>
['read','execute'] },
{ identity => 'Ecommerce Admins', rights =>
['modify'] },
identity => 'Ecommerce Operators', rights =>
['modify'] },
identity => 'admweb-sa-test', rights =>
['modify'] },
identity => 'tc-service-account', rights =>
['modify'] },
],
}
I have tried an array but it expects a string and i have tried
acl { 'D:/Repositories':
permissions => [
{ identity => 'Administrators', rights => ['full'] },
{ identity => 'Users', rights =>
['read','execute'] },
{ identity => 'Ecommerce Admins',
identity => 'Ecommerce Operators',
identity => 'admweb-sa-test',
identity => 'tc-service-account',
rights => ['modify'] },
],
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/3a989c7e-48b2-41a9-b2fe-6f48d6785655%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.