vagrant and chef install everything
This commit is contained in:
13
ops/cookbooks/vendor/ark/libraries/windows_owner.rb
vendored
Normal file
13
ops/cookbooks/vendor/ark/libraries/windows_owner.rb
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
module Ark
|
||||
class WindowsOwner
|
||||
def initialize(resource)
|
||||
@resource = resource
|
||||
end
|
||||
|
||||
attr_reader :resource
|
||||
|
||||
def command
|
||||
"#{ENV.fetch('SystemRoot')}\\System32\\icacls \"#{resource.path}\\*\" /setowner \"#{resource.owner}\""
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user