Setting Group Permissions
racepics
Joined: 2006-03-30
Posts: 39 |
![]() |
Hi all - just trying to change a group permission (in the root album of a large G2 installation) from Gallery version = 2.3.1 core 1.3.0.1 |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
Quote:
I've also tried removing the "Everybody - view resized versions" completely, but that just causes the page to go blank after a few seconds.. If you're getting a blank page setting permissions then you're hitting resource limitations. That's actually a very resource intensive operation if you're setting permissions recursively through all sub-albums. Clicking "Add Permission" or "Remove" is what performs the action. So once you click the Add Permission button the changes should be saved. Again, if it's crapping out because of resource limits that's another issue. How big is the album you're trying to set permissions on? |
|
racepics
Joined: 2006-03-30
Posts: 39 |
![]() |
I suspected it might be a resource issue - there are some 26,000 images in various albums under the root album. chris |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
Not that I know of. But if you have full control over the server. I'd be running top or htop while trying to do this to see what's happening. Could be mysql taking the hit. Check your error logs, etc. |
|
racepics
Joined: 2006-03-30
Posts: 39 |
![]() |
Good thinking.. I guess I'll have to change the permissions one album at a time. Thanks for the tips cheers |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
How many Apache processes are running? Is it just one that's eating the box? |
|
racepics
Joined: 2006-03-30
Posts: 39 |
![]() |
TOP lists just Apache2 and mysqld as far as I can see. Doesn't seem to be anything else very hungry. The Apache2 one goes to 100% cpu I think I've found a workaround though. |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
You will still need to go into each album and remove the view all versions permissions. BTW, I'll jack up the php memory limit to 2/3 of available memory since it is your server and I presume you don't run anything else on it. The server could probably use some optimisation as well. -- |
|