Index: modules/comment/comment.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v
retrieving revision 1.73
diff -u -p -r1.73 comment.test
--- modules/comment/comment.test	31 Mar 2010 20:05:06 -0000	1.73
+++ modules/comment/comment.test	2 Apr 2010 05:45:58 -0000
@@ -1005,11 +1005,16 @@ 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.
+    // Test that a user without the 'access comments' permission cannot see the
+    // block.
     $this->drupalLogout();
+    user_role_revoke_permissions(DRUPAL_ANONYMOUS_RID, array('access comments'));
     $this->drupalGet('');
     $this->assertNoText($block['title'], t('Block was not found.'));
+    user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access comments'));
 
+    // 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/standard/standard.install
===================================================================
RCS file: /cvs/drupal/drupal/profiles/standard/standard.install,v
retrieving revision 1.11
diff -u -p -r1.11 standard.install
--- profiles/standard/standard.install	27 Mar 2010 05:52:50 -0000	1.11
+++ profiles/standard/standard.install	2 Apr 2010 05:45:59 -0000
@@ -402,7 +402,7 @@ function standard_install() {
 
   // Enable default permissions for system roles.
   $filtered_html_permission = filter_permission_name($filtered_html_format);
-  user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content', $filtered_html_permission));
+  user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access content', 'access comments', $filtered_html_permission));
   user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access content', 'access comments', 'post comments', 'post comments without approval', $filtered_html_permission));
 
   // Create a default role for site administrators, with all available permissions assigned.
