    # File lib/chef/provider/directory.rb, line 29
          def load_current_resource
            @current_resource = Chef::Resource::Directory.new(@new_resource.name)
            @current_resource.path(@new_resource.path)
            if ::File.exist?(@current_resource.path) && ::File.directory?(@current_resource.path)
              cstats = ::File.stat(@current_resource.path)
              @current_resource.owner(cstats.uid)
              @current_resource.group(cstats.gid)
              @current_resource.mode("%o" % (cstats.mode & 007777))
            end
            @current_resource
          end