From 0e2ec888c17d1d60c3f80df513769a93cebc75c8 Mon Sep 17 00:00:00 2001 From: Jonathon Scanes Date: Tue, 14 Jan 2014 18:14:42 +1000 Subject: [PATCH] Rackspace/examples; cloudfiles directory is set to public, therefore file is accessible. --- lib/fog/rackspace/examples/storage/upload_file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/rackspace/examples/storage/upload_file.rb b/lib/fog/rackspace/examples/storage/upload_file.rb index 2dcb39876..86fd3c785 100644 --- a/lib/fog/rackspace/examples/storage/upload_file.rb +++ b/lib/fog/rackspace/examples/storage/upload_file.rb @@ -40,6 +40,6 @@ directory = service.directories.create :key => directory_name, :public => true upload_file = File.join(File.dirname(__FILE__), "lorem.txt") file = directory.files.create :key => 'sample.txt', :body => File.open(upload_file, "r") -puts "You should not be able to view this file via CDN at #{file.public_url}" +puts "You should be able to view this file via CDN at #{file.public_url}" puts "To delete the container and associated file please execute the delete_directory.rb script\n\n"