permissions changed?

Having trouble installing serendipity?
Post Reply
bestd2player
Posts: 3
Joined: Sun Oct 22, 2006 7:42 pm

permissions changed?

Post by bestd2player »

Hi,


I have been using serendipity for about 3 months now, with very few problems, only 2 that come to mind, and they were very minor, easy fixes.

Yesterday, this one me. When I logged into the control panel, and posted, I got an error message "Cannot write to directory home/steve/public_html/serendipity/templates_c. Please check the permissions., try chown -R www-www /home/steve/serendipity/ .....and it also said..... chmod 770 /home/steve/serendipity (i had to change the www-www to www-data, debian does not have www-www user)

so thats what I did.

now I cant load the admin or serendipity, everything is down.

why would this happen out of the blue? everything ran fine for almost 3 months, then this happened.

any clue where i might turn to start looking?

I went through every folder in serendipity, and changed them all to 777 and it still doesnt work, changed the ones that should be 770 back.

according to the permissions the way they are set, there should be no problems as far as i can see, but i still get the error message "Cannot write to directory home/steve/serendipity/templates_c. Please check the permissions." when trying to load the site. i changed that folder to read- write for everyone, yet still no dice.


any pointers would be greatly appreciated. My sons world of warcraft friends are yelling at me lol.

steve
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: permissions changed?

Post by garvinhicking »

Hi!

It seems that your host changed users of the apache user, or you or some other application changed the permissions of templates_c.

Because of a user mismatch, setting the templates_c to 770 you might have removed access to apache alltogether. Try to set it to 777 or change the owner to the proper apache user to get it up and running again?

Please make also sure that the paths you configured in the serendipity admin configuration are proper! If your host moved paths on the machine, maybe the path to serendipity is now wrong?

If serendipity complains it can't write to templates_c, sadly chances are that this folder really is not writable to the webserver user!

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply