Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is the class:
- $owner = 'Administrators'
- $group = 'Users'
- file { "${jdk_dir_win}/jre/lib/security/local_policy.jar":
- ensure => present,
- owner => "${owner}",
- group => "${group}",
- mode => '744',
- #source_permissions => ignore,
- source => "puppet:///files/java/UnlimitedJCEPolicyJDK${jdk_major}/local_policy.jar",
- backup => false,
- }
- Here is the error:
- Error: Failed to set owner to 'S-1-5-21-264512971-1436724100-3279164925-1012': Failed to set security information: This security ID may not be assigned as the owner of this object.
- Error: /Stage[main]/Boomi-jdk2/File[c:\java\jdk1.8.0_66/jre/lib/security/local_policy.jar]/owner: change from BUILTIN\LABQAAPP13ADMIN to LABQAAPP13\Administrators failed: Failed to set owner to 'S-1-5
- -21-264512971-1436724100-3279164925-1012': Failed to set security information: This security ID may not be assigned as the owner of this object.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement