Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Rebuilding content access permissions
An error has occurred.
Please continue to the error page
An HTTP error 403 occurred. /batch?id=XX&op=do
Comments
Comment #1
dlumberg CreditAttribution: dlumberg commentedSame issue in 6.x-1.3
Comment #2
dlumberg CreditAttribution: dlumberg commentedTo reproduce, hit the back button after it redirects to "content permissions have been updated"
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedthat page is core drupal.
Comment #4
dlumberg CreditAttribution: dlumberg commentedThat doesn't change the fact that this module is causing the 403
Comment #5
idcm CreditAttribution: idcm commentedI got the same error. Further investigation shows that it might be related to the server - mod_security.
This happened to me once before (see http://drupal.org/node/428792#comment-1580746 for resolution before).
Since the modsec_audit.log file shows a similar error (see below), I have asked them to investigate - again.
mod_security-action: 403
mod_security-message: Access denied with code 403. Pattern match "!(^application/x-www-form-urlencoded$|^multipart/form-data;)" at HEADER("Content-Type") [id "9001"] [severity "EMERGENCY"]
I will come back and post a solution if they find one.
Comment #6
idcm CreditAttribution: idcm commentedThis is the fix my hosting service provided.
They inserted SecFilterRemove 9001 and SecFilterRemove 9002 at the top of the .htaccess file for me. When I open my .htaccess file, I see at the top:
SecFilterScanPOST Off
SecFilterRemove 9001
SecFilterRemove 9002
#
# Apache/PHP/Drupal settings:
#
Hope this helps.
Comment #7
husztisanyi CreditAttribution: husztisanyi commentedEarlier I disable usernode module, but thousands usernode remained.
I had to delete all usernode, that solved the permissions rebuild error!