FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » permission denied
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
permission denied [message #13294] Sun, 28 September 2003 20:55 Go to next message
Sergey is currently offline  Sergey   United States
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 #13315 is a reply to message #13294] Mon, 29 September 2003 20:38 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Are you using safe_mode or open_basedir?

FUDforum Core Developer
Re: permission denied [message #13320 is a reply to message #13315] Mon, 29 September 2003 20:52 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
Messages: 41
Registered: January 2003
Karma: 0
Member
Ilia wrote on Mon, 29 September 2003 16:38

Are you using safe_mode or open_basedir?

I am not sure, I am using provider services.

Should I ask them and if yes, what should I ask them?

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.
Re: permission denied [message #13321 is a reply to message #13320] Mon, 29 September 2003 21:01 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #13332 is a reply to message #13330] Mon, 29 September 2003 23:49 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
Messages: 41
Registered: January 2003
Karma: 0
Member
Ilia wrote on Mon, 29 September 2003 17:29

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/"));
?>


The result was:

bool(false) bool(false)

I am not sure if it matters, but the operation system is Lynix.
And User/Group settings is nobody(99)/99


-------------------
"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.
Re: permission denied [message #13333 is a reply to message #13332] Mon, 29 September 2003 23:52 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #13343 is a reply to message #13333] Tue, 30 September 2003 11:18 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
Messages: 41
Registered: January 2003
Karma: 0
Member
Ilia wrote on Mon, 29 September 2003 19:52

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.

Thank you!
Now I am going to bother my providers Very Happy


-------------------
"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.
Re: permission denied [message #13344 is a reply to message #13294] Tue, 30 September 2003 11:49 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
Messages: 41
Registered: January 2003
Karma: 0
Member
Just would like to thank you guys for th great forum!
I have been using this forum for (I believe) couple years and I really like it.

Thank you for your support! You are doing a great job!


-------------------
"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.
Re: permission denied [message #13348 is a reply to message #13333] Tue, 30 September 2003 17:54 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
Messages: 41
Registered: January 2003
Karma: 0
Member
Ilia wrote on Mon, 29 September 2003 19:52

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.

I am sorry if it is too much to ask.
But would you know how fix it?

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.
Re: permission denied [message #13352 is a reply to message #13348] Tue, 30 September 2003 23:01 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
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. Sad


-------------------
"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 #13392 is a reply to message #13365] Sat, 04 October 2003 15:21 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
Messages: 41
Registered: January 2003
Karma: 0
Member
Just FYI.
Maybe it is going to help somebody.

I believe my problem was in user/group ownership. IMHO.

When I create folders /username/public_html/forum/ and /username/public_html/forum_data/ , the user/group ownership is username/username, but on the server of my provider by default ownership are nobody/nobody. Remember
Quote:

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).
?
So, the installation process grab this default ownership from the server and try to put in the folder /forum_data , but this /forum_data has different ownership (username/username) and the installation process can not be continued...

Now I am trying to resolve this issue with my provider. Confused


-------------------
"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.
Re: permission denied [message #13406 is a reply to message #13392] Mon, 06 October 2003 21:08 Go to previous messageGo to next message
Sergey is currently offline  Sergey   United States
Messages: 41
Registered: January 2003
Karma: 0
Member
Sorry...

-------------------
"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 21:21]

Report message to a moderator

Re: permission denied [message #13412 is a reply to message #13406] Mon, 06 October 2003 23:20 Go to previous message
Sergey is currently offline  Sergey   United States
Messages: 41
Registered: January 2003
Karma: 0
Member
Sorry again. I resolved the issue... Embarassed

-------------------
"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

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: open_basedir limitation
Next Topic: how to change date format from september,12 2003 to 2003-9-12 or like this?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 09 17:35:52 GMT 2024

Total time taken to generate the page: 0.13340 seconds