class ChefConfig::Config

def self.path_accessible?(path)

Returns true only if the path exists and is readable and writeable for the user.
def self.path_accessible?(path)
  File.exists?(path) && File.readable?(path) && File.writable?(path)
end