[SOLVED] The album 'Family Photos' is not writable.:Solved!

rschwarz_jr

Joined: 2005-09-19
Posts: 6
Posted: Wed, 2009-10-28 16:33

After upgrading to the current version I have had a permission problem. I'm getting the error:
The album 'Family Photos' is not writable.
Family Photos is the root album and all sub albums give the same error with their respective name in place of Family Photos
I'm logged in as a admin user when I get this error and I get no error when not logged in if that makes a difference.
When I try to edit permissions I get the error:
* Oh no! Your server needs a configuration change in order for you to hide photos! Ask your server administrator to enable mod_rewrite and set AllowOverride FileInfo Options to fix this.
Another oddity is a really long delay before the permissions window pops up to give me the error.

I've checked and mod_rewrite is working and turned on in .htaccess. Also AllowOverride FileInfo Options in in my Apache config. Prior to upgrading it all worked.
Anything I should check? Thoughts?

Also what should the actual permissions be on the var folder, sub-folders and items in the folders? I just want to make sure I didn't screw something up there.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-10-28 19:48

So many questions in one post....

The permissions set on var varies depending on server configuration. One sure way, 777 Then directories below that would be 755 (as they are owned by the web server user) and files would be 644 (also they would be owned by the web server user)

You need to make sure that the permissions are set such that the web server user has write permission to ALL files and directories below var (including var)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
rschwarz_jr

Joined: 2005-09-19
Posts: 6
Posted: Wed, 2009-10-28 21:37
nivekiam wrote:
So many questions in one post....

The permissions set on var varies depending on server configuration. One sure way, 777 Then directories below that would be 755 (as they are owned by the web server user) and files would be 644 (also they would be owned by the web server user)

You need to make sure that the permissions are set such that the web server user has write permission to ALL files and directories below var (including var)

That might be my problem var and below is owned by root which made no sense to me. I'll see if that fixes it.

Update: Just checked and that was the problem. It's the obvious solutions that always stump me. Thanks nivekiam!!!