permission denied [message #13294] |
Sun, 28 September 2003 20:55 |
|
Sergey
Messages: 41 Registered: January 2003
Karma: 0
|
Member |
|
|
Hi.
I tried to install 2.5.2 and got the error message
-------------------
Warning: mkdir(/home/username/FUDforum/): Permission denied in /home/visafory/public_html/forum/install.php on line 354
Warning: mkdir(/home/username): File exists in /home/visafory/public_html/forum/install.php on line 354
---------------------
plus
------------------------
Install script failed to create "/home/username/FUDforum/". Create it manually and chmod it 777 or make it's user/group same as the web-server (nobody/nobody).
---------------------------
I went to check permissions and everything looked OK.
------------------
drwxrwxrwx 2 username username 4096 Sep 28 13:54 forum
drwxrwxrwx 2 username username 4096 Sep 28 13:51 FUDforum
------------------
Am I doing something wrong?
Thank you.
-------------------
"If you really want something in this life you have to work for it.
Now quiet, they're about to announce the lottery numbers."
Author: Homer Simpson.
[Updated on: Sun, 28 September 2003 20:58] Report message to a moderator
|
|
|
|
|
Re: permission denied [message #13321 is a reply to message #13320] |
Mon, 29 September 2003 21:01 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
just make a file like this
<?php phpinfo(); ?>
And then search for the 2 options I've mentioned.
FUDforum Core Developer
|
|
|
Re: permission denied [message #13325 is a reply to message #13321] |
Mon, 29 September 2003 21:16 |
|
Sergey
Messages: 41 Registered: January 2003
Karma: 0
|
Member |
|
|
safe_mode : Off
open_basedir : no value
Should I ask them to change something?
Thank you.
-------------------
"If you really want something in this life you have to work for it.
Now quiet, they're about to announce the lottery numbers."
Author: Homer Simpson.
[Updated on: Mon, 29 September 2003 21:21] Report message to a moderator
|
|
|
Re: permission denied [message #13330 is a reply to message #13325] |
Mon, 29 September 2003 21:29 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Those are the ideal settings.
Hmmm try running the following script:
<?php var_dump(is_dir("/home/username/FUDforum")); var_dump(is_dir("/home/username/FUDforum/")); ?>
FUDforum Core Developer
|
|
|
|
Re: permission denied [message #13333 is a reply to message #13332] |
Mon, 29 September 2003 23:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
As you can see the problem has nothing to do with the forum.
Even though the directories exist, PHP claims they do not, hence the installer failure.
FUDforum Core Developer
|
|
|
|
|
|
Re: permission denied [message #13352 is a reply to message #13348] |
Tue, 30 September 2003 23:01 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It's a very strange problem, I have not seen similar problems reported on php bug list. What is the permission of the /home/username directory?
FUDforum Core Developer
|
|
|
Re: permission denied [message #13356 is a reply to message #13352] |
Wed, 01 October 2003 00:18 |
|
Sergey
Messages: 41 Registered: January 2003
Karma: 0
|
Member |
|
|
Ilia wrote on Tue, 30 September 2003 19:01 | It's a very strange problem, I have not seen similar problems reported on php bug list. What is the permission of the /home/username directory?
|
Like I mentioned before the operation system is Lynix.
Here is a listing :
drwxrwx--- 6 username mail 4096 Aug 31 09:24 mail
drwxr-x--- 3 username username 4096 Mar 13 2003 public_ftp
drwxr-x--- 14 username 99 4096 Sep 29 16:53 public_html
drwx------ 9 username username 4096 Mar 15 2003 tmp
drwxr-x--- 14 username 99 4096 Sep 29 16:53 www
Where 99 is nobody
I guess my public_html(where I put my HTML) is my /home/username directory...
Thank you for your time!
-------------------
"If you really want something in this life you have to work for it.
Now quiet, they're about to announce the lottery numbers."
Author: Homer Simpson.
[Updated on: Wed, 01 October 2003 00:18] Report message to a moderator
|
|
|
Re: permission denied [message #13357 is a reply to message #13356] |
Wed, 01 October 2003 00:44 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I think I see the problem...
Chmod the public_html directory 751 it should allow PHP to read the directories when running as the webserver.
FUDforum Core Developer
|
|
|
Re: permission denied [message #13365 is a reply to message #13357] |
Wed, 01 October 2003 22:25 |
|
Sergey
Messages: 41 Registered: January 2003
Karma: 0
|
Member |
|
|
Ilia wrote on Tue, 30 September 2003 20:44 | I think I see the problem...
Chmod the public_html directory 751 it should allow PHP to read the directories when running as the webserver.
|
drwxr-x--x 14 username 99 4096 Sep 29 16:53 public_html
Sorry, it didn't work.
-------------------
"If you really want something in this life you have to work for it.
Now quiet, they're about to announce the lottery numbers."
Author: Homer Simpson.
[Updated on: Wed, 01 October 2003 22:26] Report message to a moderator
|
|
|
|
|
Re: permission denied [message #13412 is a reply to message #13406] |
Mon, 06 October 2003 23:20 |
|
Sergey
Messages: 41 Registered: January 2003
Karma: 0
|
Member |
|
|
Sorry again. I resolved the issue...
-------------------
"If you really want something in this life you have to work for it.
Now quiet, they're about to announce the lottery numbers."
Author: Homer Simpson.
[Updated on: Mon, 06 October 2003 23:26] Report message to a moderator
|
|
|