Method: Train::File::Remote::Windows#owner
- Defined in:
- lib/train/file/remote/windows.rb
#owner ⇒ Object
34 35 36 37 38 39 |
# File 'lib/train/file/remote/windows.rb', line 34 def owner owner = @backend.run_command( "Get-Acl \"#{@spath}\" | select -expand Owner").stdout.strip return if owner.empty? owner end |