? sites/default/files
? sites/default/private
? sites/default/settings.php
Index: modules/comment/comment.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v
retrieving revision 1.50
diff -u -p -r1.50 comment.test
--- modules/comment/comment.test	16 Oct 2009 23:48:37 -0000	1.50
+++ modules/comment/comment.test	19 Oct 2009 02:29:34 -0000
@@ -785,11 +785,7 @@ class CommentBlockFunctionalTest extends
     $comment2 = $this->postComment($this->node, $this->randomName(), $this->randomName());
     $comment3 = $this->postComment($this->node, $this->randomName());
 
-    // Test that a user without the 'access comments' permission can not see the block.
-    $this->drupalLogout();
-    $this->drupalGet('');
-    $this->assertNoText($block['title'], t('Block was not found.'));
-
+    // Test that a user with the 'access comments' permission can see the block.
     $this->drupalLogin($this->web_user);
     $this->drupalGet('');
     $this->assertText($block['title'], t('Block was found.'));
Index: profiles/default/default.install
===================================================================
RCS file: /cvs/drupal/drupal/profiles/default/default.install,v
retrieving revision 1.14
diff -u -p -r1.14 default.install
--- profiles/default/default.install	18 Oct 2009 07:50:45 -0000	1.14
+++ profiles/default/default.install	19 Oct 2009 02:29:34 -0000
@@ -203,7 +203,7 @@ function default_install() {
   field_create_instance($instance);
 
   // Enable default permissions for system roles.
-  user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content', 'use text format 1'));
+  user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content', 'access comments', 'use text format 1'));
   user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content', 'access comments', 'post comments', 'post comments without approval', 'use text format 1'));
 
   // Create a default role for site administrators, with all available permissions assigned.
Index: profiles/expert/expert.install
===================================================================
RCS file: /cvs/drupal/drupal/profiles/expert/expert.install,v
retrieving revision 1.4
diff -u -p -r1.4 expert.install
--- profiles/expert/expert.install	20 Sep 2009 07:32:19 -0000	1.4
+++ profiles/expert/expert.install	19 Oct 2009 02:29:34 -0000
@@ -68,7 +68,7 @@ function expert_install() {
   $query->execute();  
 
   // Enable default permissions for system roles.
-  user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content', 'use text format 1'));
+  user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content', 'access comments', 'use text format 1'));
   user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content', 'access comments', 'post comments', 'post comments without approval', 'use text format 1'));
 }
 
