Page 1 of 3

Error: The directory ../inc is not writeable. - but is 777

Posted: Sun Oct 17, 2004 7:29 am
by DogTags
Hi All

Trying to install phpmyfaq

Got to making ../inc writeable but got an error:
The directory ../inc is not writeable.
I DEFINITELY set the permissions of /inc to 777. No doubt about it, but I still get the above error.

Any ideas? I'm stumped on this one.

Thanks :)

Posted: Sun Oct 17, 2004 1:11 pm
by Thorsten
Hi,

which user owns the directory?

bye
Thorsten

Posted: Sun Oct 17, 2004 2:58 pm
by DogTags
Hi :)

The same user that owns all public docs:

/home/httpd/vhosts/domain.com/httpdocs

/home/httpd/vhosts/domain.com/httpdocs/myfaq

/home/httpd/vhosts/domain.com/httpdocs/myfaq/inc

Which user should own it?

Installation had been going fine until that point.

Thanks :)

Posted: Sun Oct 17, 2004 3:43 pm
by Thorsten
Hi,

if you're using PHP as Apache module the files have to be owned by the Apache user.

bye
Thorsten

Posted: Mon Oct 18, 2004 6:20 am
by DogTags
drwxr-xr-x 14 arnold psacln 1024 Oct 17 02:27 phpmyfaq

drwxr-xr-x 14 arnold psacln 1024 Oct 17 02:27 inc

Does the above help? Are you saying that they should be:

drwxr-xr-x 14 arnold arnold 1024 Oct 17 02:27 phpmyfaq

drwxr-xr-x 14 arnold arnold 1024 Oct 17 02:27 inc

Thanks :)

Posted: Tue Oct 19, 2004 12:41 am
by sitespt
Hello.

I don't understand this type of "owner permissions" Where and how do I set them?

Thank you.

Posted: Tue Oct 19, 2004 6:41 am
by Thorsten
Hi,

if you're using Linux:

man chown
man chmod

:-)

bye
Thorsten

Posted: Tue Oct 19, 2004 11:38 am
by sitespt
Hello, I didn't understand what you said.

I'm using Linux, but what does this means?
man chown
man chmod
Thank you

Posted: Sat Oct 23, 2004 1:05 pm
by nino
hi sitespt

man = manual

open up a console (something like the DOS-Box on Windows) and type in: man chown

the manual with many informations about the command chown will show up.

do the same for any other command you wish to know more about it.

greets

nino

Posted: Tue Oct 26, 2004 2:34 pm
by sitespt
Hi again.

I'm stucked in the same step.
Isn't it the same thing setting the permissions from a FTP program?

The directory is writable and it stucks here all the time! :(

Any help?

Posted: Tue Oct 26, 2004 2:41 pm
by Thorsten
Hi,

you can test if it works if you chmod the whole directory with 777.

bye
Thorsten

Posted: Tue Oct 26, 2004 3:56 pm
by sitespt
Hello.
When chmod the inc directory, I have this error:

Code: Select all

Warning: main(/home/xxxx/public_html/faq/inc/constants.php): failed to open stream: Permission denied in /home/xxxx/public_html/faq/install/installer.php on line 24

Fatal error: main(): Failed opening required '/home/xxxx/public_html/faq/inc/constants.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/faq/install/installer.php on line 24
Any help? The installer.php is 644

Posted: Wed Oct 27, 2004 8:01 am
by Thorsten
Hi,

thi error describes that the file constants.php in the directory /inc isn't readable or even not there...

bye
Thorsten

Posted: Wed Oct 27, 2004 1:55 pm
by sitespt
Ok, this error was because inc folder was CHMOD 766. I have CHMOD 777 now, but the other error came up again :(

It is:

Code: Select all

The directory ../inc is not writeable.
And The directory is CHMOD 777

How do I override this error? Please submit step by step instructions.

Thank you

Posted: Wed Oct 27, 2004 2:07 pm
by Thorsten
Hi,

you could remove all writeable checks inside installer.php.

bye
Thorsten