Sha256: 0d09d57465e195a4360284973342c1fc26cf7e57efc5eaa07d9d8f30426eeab2

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

class Specinfra::Command::Nexus::Base::File < Specinfra::Command::Linux::Base::File
  class << self
    def check_is_accessible_by_user(file, user, access)
      # Redhat-specific
      "runuser -s /bin/sh -c \"test -#{access} #{file}\" #{user}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
specinfra-cisco-2.41.0 lib/specinfra/command/nexus/base/file.rb
specinfra-cisco-2.40.2 lib/specinfra/command/nexus/base/file.rb