Sha256: 8636caf9932df27023bf4352cd66d198c3da4dc12914924c27ca008011134bb1

Contents?: true

Size: 235 Bytes

Versions: 4

Compression:

Stored size: 235 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta15 lib/specinfra/command/redhat/base/file.rb
specinfra-2.0.0.beta14 lib/specinfra/command/redhat/base/file.rb
specinfra-2.0.0.beta13 lib/specinfra/command/redhat/base/file.rb
specinfra-2.0.0.beta12 lib/specinfra/command/redhat/base/file.rb