# File lib/specinfra/command/windows/base/file.rb, line 31 def check_is_readonly(file) cmd = item_has_attribute file, 'ReadOnly' Backend::PowerShell::Command.new do exec cmd end end