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

dlumberg’s picture

Same issue in 6.x-1.3

dlumberg’s picture

To reproduce, hit the back button after it redirects to "content permissions have been updated"

moshe weitzman’s picture

Status: Active » Closed (fixed)

that page is core drupal.

dlumberg’s picture

That doesn't change the fact that this module is causing the 403

idcm’s picture

I 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.

idcm’s picture

This 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.

husztisanyi’s picture

Title: 403 on rebuild permissions » solved the permissions rebuild error!
Project: Organic groups » Usernode
Version: 6.x-2.0-rc1 » master
Component: og_access.module » Miscellaneous

Earlier I disable usernode module, but thousands usernode remained.
I had to delete all usernode, that solved the permissions rebuild error!