    # File lib/chef/provider/cookbook_file.rb, line 34
          def action_create
            assert_enclosing_directory_exists!
            if file_cache_location && content_stale?
              Chef::Log.debug("#{@new_resource} has new contents")
              backup_new_resource
              Tempfile.open(::File.basename(@new_resource.name)) do |staging_file|
                Chef::Log.debug("#{@new_resource} staging #{file_cache_location} to #{staging_file.path}")
                staging_file.close
                stage_file_to_tmpdir(staging_file.path)
                FileUtils.mv(staging_file.path, @new_resource.path)
              end
              Chef::Log.info("#{@new_resource} created file #{@new_resource.path}")
              @new_resource.updated_by_last_action(true)
            else
              set_all_access_controls(@new_resource.path)
            end
            @new_resource.updated_by_last_action?
          end