# File lib/specinfra/command/freebsd/base/file.rb, line 21
    def check_has_mode(file, mode)
      "test `stat -f%Mp%Lp #{escape(file)} | sed 's/^0*//'` -eq #{escape(mode)}"
    end