# File lib/specinfra/command/aix/base/file.rb, line 7 def check_has_mode(file, mode) "find #{file} -prune -perm #{mode} | grep ^#{file}$" end