Method: Specinfra::Command::Darwin::Base::File.get_owner_user
- Defined in:
- lib/specinfra/command/darwin/base/file.rb
permalink .get_owner_user(file) ⇒ Object
[View source]
38 39 40 |
# File 'lib/specinfra/command/darwin/base/file.rb', line 38 def get_owner_user(file) "stat -f %Su #{escape(file)}" end |