# File lib/specinfra/command/linux/base/file.rb, line 3 def check_is_accessible_by_user(file, user, access) "su -s /bin/sh -c \"test -#{access} #{file}\" #{user}" end