New 0.82 install problems

Having trouble installing serendipity?
Guest

Success for a moment

Post by Guest »

:D Had Success for a moment today. I deleted all tables from the SQL database file, set global permissions, deleted the config_local file, then ran the installer again. Voila, I was able to get it working this time. s9y created the tables properly. Why it did so this time and not before, I cannot figure.

:cry: But... not to leave my site wide open with open privs, I chmod'd the directories and files to 644. Uh, that killed it! So what are the correct permissions that are required? Some directories need be 7xx, so the
scripts can run???

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

Re: Success for a moment

Post by garvinhicking »

You should leave the file permissions the way they are included in the .tar.gz file. That means the / directory needs to be server-writable when you install Serendipity. After that you can reset it since s9y does not need to create new files.

The serendipity_config_local.inc.php and .htaccess files always need to be writable for Serendipity.

The directories templates_c and uploads always need to be writable for Serendipity. If you want to use Spartacus, your plugins/ directory (and subdirectories) need to be writable for Serendipity as well.

Of course directories always need to be executable, so they have to be 755 and not 644 for Serendipity to be able to read anything.

That should be it. :-)

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/
Guest

Permissions

Post by Guest »

Lets be perfectly clear for those whom don;t understand...
644 gives read permissions for all and write for owner.
755 gives read and execute for all plus write for owner.
I'll change accordingly.

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

Re: Permissions

Post by garvinhicking »

Right. 644 should be applied to files, and 755 to directories. Except the files/directions I mentioned in my other post.

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/
Guest

Fixed. End of story

Post by Guest »

:D OK, with great difficulty and enormous amount of hacking files, s9y is up and running. Can be seen at http://www.catspeaker.com/blog/

I think there are some lessons to learn here.
Anybody know what they are?

Thanks all,

Frank
Post Reply