1
Webstrand
File Permissions Problem
  • 2006/7/31 1:11

  • Webstrand

  • Just popping in

  • Posts: 4

  • Since: 2006/7/31


I have SSH and SFTP access to my host, i've dont chmod in both protocols,
CHMOD 0666 mainfile.php
CHMOD 0777 uploads/
CHMOD 0777 cache/
CHMOD 0777 templates_c/

i've also used a PHP script to change their permissions, they all say they have changed the file and directories permissions but the XOOPS installer script says it cant and wont write to mainfile.php.

Thanks in advance.

2
ghettonet
Re: File Permissions Problem
  • 2006/7/31 1:55

  • ghettonet

  • Not too shy to talk

  • Posts: 176

  • Since: 2005/12/4


try chmodding mainfile.php to 777 - just for installation. Servers are funny like that (don't worry, XOOPS will yell at you to chmod it to 444 after install).

3
Webstrand
Re: File Permissions Problem
  • 2006/7/31 3:33

  • Webstrand

  • Just popping in

  • Posts: 4

  • Since: 2006/7/31


Thanks, but it didnt work... i tried chmodding all to 0777 then to 0666 and then all folders to 0666 and mainfile.php to 0777, no luck.... I'm going to try re-downloading xoops, any more ideas? (i come up with the strangest problems ever)

4
nekro
Re: File Permissions Problem
  • 2006/7/31 5:07

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


maybe it is the most stupid answer... but it happened to me... maybe because i am stupid... i will check that later... have you got several XOOPS sites??? maybe you have 2 fisicals XOOPS example: /www/site1 and /www/site2 and maybe in your virtual host configuration ... you have make a salad with the names and directorys... check it!...
Also if you can access to the terminal .. check the owner with ... with 0777 isnt necesary ... but isnt a bad idea to the right functionality of xoops!...

5
Webstrand
Re: File Permissions Problem
  • 2006/7/31 14:04

  • Webstrand

  • Just popping in

  • Posts: 4

  • Since: 2006/7/31


nekro, sorry, i dont realy understand what you mean, but heres something Site Docs said: files must be accessable bo 'other' to be used by a cgi script? could that be it right their?
Also it says to chmod o+r <filename> but that only gives read access. Also i'm being hosted on sourceforge.net if that helps...

6
Dave_L
Re: File Permissions Problem
  • 2006/7/31 14:14

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Is "safe_mode" enabled on your server? If so, the files may need to be owned by the same user under which the web server is running.

7
Webstrand
Re: File Permissions Problem
  • 2006/7/31 15:06

  • Webstrand

  • Just popping in

  • Posts: 4

  • Since: 2006/7/31


no, thats not the problem, the problem is sourceforge.net:https://xoops.org/modules/newbb/viewtopic.php?topic_id=41912&forum=7&post_id=213963#forumpost183555
I tried his solution but it didnt work XOOPS couldnt find the file mainfile.php (i had a symbolic link running to it) though it did find the directories. What went wrong?

Login

Who's Online

56 user(s) are online (38 user(s) are browsing Support Forums)


Members: 0


Guests: 56


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits