Advertisement
otteydw

puppet file error on Windows

Apr 13th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. Here is the class:
  2.  
  3. $owner = 'Administrators'
  4. $group = 'Users'
  5.  
  6. file { "${jdk_dir_win}/jre/lib/security/local_policy.jar":
  7. ensure => present,
  8. owner => "${owner}",
  9. group => "${group}",
  10. mode => '744',
  11. #source_permissions => ignore,
  12. source => "puppet:///files/java/UnlimitedJCEPolicyJDK${jdk_major}/local_policy.jar",
  13. backup => false,
  14. }
  15.  
  16. Here is the error:
  17.  
  18. 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.
  19. 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
  20. -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