Not writeable during install with 777 permissions

Having trouble installing serendipity?
Post Reply
stikk
Regular
Posts: 6
Joined: Tue Aug 22, 2006 1:08 am
Location: Schweiz

Not writeable during install with 777 permissions

Post by stikk »

Hi, I'm new to serendipity but not to LAMP.

I'm using FC5, (httpd-2.2.2-1.2, php-5.1.4-1).
I have unpacked everything to the subdirectory serendipity.

I still get the "not writable" (or in german: Nicht beschreibbar) error even everything is with 777 writeable

on a system with FC4 (httpd-2.0.54-10.4, php-5.0.4-10.5) it installes every thing ok.

Is this a problem of apache 2.2 or php 5.1 or of serendipity?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Not writeable during install with 777 permissions

Post by garvinhicking »

Hi!

You should check the "." directory where you put Serendipity into. If s9y complains about a write error, the process defeinitely has no permissions to create a file in your serendipity directory.

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/
stikk
Regular
Posts: 6
Joined: Tue Aug 22, 2006 1:08 am
Location: Schweiz

Re: Not writeable during install with 777 permissions

Post by stikk »

garvinhicking wrote:Hi!

You should check the "." directory where you put Serendipity into. If s9y complains about a write error, the process defeinitely has no permissions to create a file in your serendipity directory.

Best regards,
Garvin
it's set to 777 (also tried 1777)
httpd runs under apache so I tried owner.group apache.apache, I tried root.root, nobody.nobody, user.user... didn't help.
the exact same directory (tar cvf ... tar xvf ) on the other system runs well.

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

Re: Not writeable during install with 777 permissions

Post by garvinhicking »

Hi!

That sounds weird. Is your other apache maybe running as chroot or with different permissions?

It must be a system issue, unrelated to Serendipity...

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/
stikk
Regular
Posts: 6
Joined: Tue Aug 22, 2006 1:08 am
Location: Schweiz

Re: Not writeable during install with 777 permissions

Post by stikk »

garvinhicking wrote:Hi!

That sounds weird. Is your other apache maybe running as chroot or with different permissions?

It must be a system issue, unrelated to Serendipity...

Best regards,
Garvin
Hi,

yes it's weird, b.c. both configurations on both system are the same. (httpd.conf/php.ini) the only difference is httpd 2.2/php.5.1 - httpd 2.0/php.5.0


only difference: register_globals

regars
stikk
Last edited by stikk on Wed Aug 23, 2006 10:30 am, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Not writeable during install with 777 permissions

Post by garvinhicking »

Hi!

What is the exact permission error you get?

Show me a "la -la" output of all involved directores and files mentioned in the error message (usually templates_c or .htaccess)

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/
stikk
Regular
Posts: 6
Joined: Tue Aug 22, 2006 1:08 am
Location: Schweiz

Re: Not writeable during install with 777 permissions

Post by stikk »

garvinhicking wrote:Hi!

What is the exact permission error you get?

Show me a "la -la" output of all involved directores and files mentioned in the error message (usually templates_c or .htaccess)

Regards,
Garvin
Here it is:

webserver-root:

insgesamt 32
drwxrwxrwx 3 apache apache 4096 22. Aug 17:27 .
drwxrwxrwx 4 apache apache 4096 22. Aug 17:26 ..
drwxrwxrwt 14 apache apache 4096 22. Aug 17:33 blogg
-rw-r--r-- 1 apache apache 18 22. Aug 17:27 phpinfo.php

./blogg:

drwxrwxrwt 14 apache apache 4096 22. Aug 17:40 .
drwxrwxrwx 3 apache apache 4096 22. Aug 17:27 ..
drwxrwxrwt 2 apache apache 4096 22. Aug 17:33 archive
drwxr-xr-x 11 apache apache 4096 14. Aug 11:26 bundled-libs
-rw-r--r-- 1 apache apache 6823 6. Sep 2005 comment.php
drwxr-xr-x 5 apache apache 4096 14. Aug 11:26 deployment
drwxr-xr-x 2 apache apache 4096 14. Aug 11:26 docs
-rw-r--r-- 1 apache apache 1530 4. Okt 2005 exit.php
-rwxrwxrwx 1 apache apache 0 22. Aug 17:40 .htaccess
drwxr-xr-x 7 apache apache 4096 14. Aug 11:26 htmlarea
drwxr-xr-x 5 apache apache 4096 14. Aug 11:26 include
-rw-r--r-- 1 apache apache 19644 19. Mai 14:43 index.php
drwxr-xr-x 3 apache apache 4096 14. Aug 11:26 lang
-rw-r--r-- 1 apache apache 18 22. Aug 17:00 phpinfo.php
drwxrwxrwx 32 apache apache 4096 14. Aug 11:26 plugins
-rw-r--r-- 1 apache apache 8496 26. Mai 20:52 rss.php
-rw-r--r-- 1 apache apache 14484 6. Aug 12:39 serendipity_admin_image_selector.php
-rw-r--r-- 1 apache apache 16277 2. Feb 2006 serendipity_admin.php
-rw-r--r-- 1 apache apache 11645 11. Jul 14:42 serendipity_config.inc.php
-rw-r--r-- 1 apache apache 2151 9. Feb 2006 serendipity.css.php
-rw-r--r-- 1 apache apache 589 16. Apr 2005 serendipity_define.js.php
-rw-r--r-- 1 apache apache 8659 14. Aug 10:54 serendipity_editor.js
-rw-r--r-- 1 apache apache 413 11. Aug 2005 serendipity_xmlrpc.php
drwxr-xr-x 2 apache apache 4096 14. Aug 11:26 sql
drwxr-xr-x 24 apache apache 4096 14. Aug 11:26 templates
drwxrwxrwt 2 apache apache 4096 14. Aug 11:26 templates_c
drwxrwxrwt 2 apache apache 4096 22. Aug 17:40 uploads
-rw-r--r-- 1 apache apache 1468 16. Apr 2005 wfwcomment.php

./blogg/templates_c:
drwxrwxrwt 2 apache apache 4096 14. Aug 11:26 .
drwxrwxrwt 14 apache apache 4096 22. Aug 17:40 ..
-rwxrwxrwx 1 apache apache 0 31. Okt 2005 .empty[/list]

Did I miss something?

stikk
stikk
Regular
Posts: 6
Joined: Tue Aug 22, 2006 1:08 am
Location: Schweiz

spooky system

Post by stikk »

Ok I installed a second system with FC5 etc.

result= it works...

I don't know why it's not working on the first server, when I find it out, I will post it here.

thanx for your help...

stikk
stikk
Regular
Posts: 6
Joined: Tue Aug 22, 2006 1:08 am
Location: Schweiz

SELINUX was enforced

Post by stikk »

Ok

SELINUX was enforced

hmm, great... how could I not to look into /var/log/messages

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

Re: SELINUX was enforced

Post by garvinhicking »

Hi!

Ah! :) All is well that ends well. *g*

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