Page 2 of 2
Success for a moment
Posted: Thu Aug 04, 2005 5:50 am
by Guest

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.

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
Re: Success for a moment
Posted: Thu Aug 04, 2005 12:40 pm
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
Permissions
Posted: Thu Aug 04, 2005 5:04 pm
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
Re: Permissions
Posted: Thu Aug 04, 2005 5:12 pm
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
Fixed. End of story
Posted: Fri Aug 05, 2005 4:43 am
by Guest

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