BROKEN lock/unlock files in 2.6.6 [message #19911] |
Thu, 16 September 2004 11:46 |
StarLight{PL}
Messages: 22 Registered: March 2003
Karma: 0
|
Junior Member |
|
|
I did a fresh install of 2.6.6 and when I try to use the either lock or unlock files mechanism it completely screws up forum permissions (ie. forum's no longer accessible because of permission denied). Moreover, strange thing is happening - the mechanism tries to go "out" of it's directory:
ERROR: couldn't chmod "/home/web/www/forum.pldg/../README"
ERROR: couldn't chmod "/home/web/www/forum.pldg/../pldg_forum.tar"
ERROR: couldn't chmod "/home/web/www/.includes/fudforum/../header_d.php"
and so on...
The behavior's completely erratic - sometimes when locking / unlocking files it will take away all permissions, sometimes only other & group permissions, but the effect is the same - screwed forum, no longer accessible.
Any ideas what may be the problem? I repeat, it was a clean install of fud 2.6.6, no upgrade and not tampered with.
greetz/StarLight
[Updated on: Thu, 16 September 2004 11:47] Report message to a moderator
|
|
|
|
|
Re: Bug from the past [message #22373 is a reply to message #22356] |
Sun, 30 January 2005 18:03 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I suspect something has changed the owner/group of the files, so the user (web server user) the forum runs as no longer has permission to change the permissions of those files. So you need to change permissions via FTP/SSH client.
FUDforum Core Developer
|
|
|
Re: Bug from the past [message #22374 is a reply to message #22373] |
Sun, 30 January 2005 23:44 |
tecmes
Messages: 34 Registered: October 2002
Karma: 0
|
Member |
|
|
Thanks for you reply.
I did change the permission through FTP.
It still gave a 503 error, until I realized I changed the permission of everything except the root folder (/fudforum) itself.
Once I did that, however, I got error 500 Internal Server, and the permission for the folder was auto-reset to 700.
last error I got :
Quote: | [Sun Jan 30 8:19:26 GMT 2005] W0Vycm9yXSBFbnJlZ2lzdHJlbWVudCBk6XNhY3Rpduk8YnIgLz5bTWVzc2FnZSBTZW50IHRvIFV zZXJdIEwmIzM5O2FkbWluaXN0cmF0ZXVyIGEgZOlzYWN0aXbpIGwmIzM5O2VucmVnaXN0cmVtZW 50LCB2ZXVpbGxleiBy6WVzc2F5ZXIgcGx1cyB0YXJkPGJyIC8+W1VzZXIgSVBdIDIxMi4xOTUuM TA5LjE1MDxiciAvPltSZXF1ZXN0ZWQgVVJMXSBodHRwOi8vd3d3LnJvbGVuZXQub3JnL2Z1ZGZv cnVtL2luZGV4LnBocD90PXJlZ2lzdGVyJjxiciAvPltSZWZlcnJpbmcgUGFnZV0gaHR0cDovL3d 3dy5yb2xlbmV0Lm9yZy9mdWRmb3J1bS9pbmRleC5waHA/dD1sb2dpbjxiciAvPg==
|
[Updated on: Mon, 31 January 2005 00:37] Report message to a moderator
|
|
|
Re: Bug from the past [message #22375 is a reply to message #22374] |
Sun, 30 January 2005 23:59 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The error that is being generated here is: "[Error] Enregistrement désactivé".
I am guessing that the registration is disabled?
FUDforum Core Developer
|
|
|
|
Re: Bug from the past [message #22377 is a reply to message #22376] |
Mon, 31 January 2005 01:11 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It could be that your webhost is running a utility that periodically goes through your web dir and ensures that any files found there are owned by you user/group id.
FUDforum Core Developer
|
|
|
|
Re: BROKEN lock/unlock files in 2.6.6 [message #22384 is a reply to message #22382] |
Mon, 31 January 2005 17:15 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The GLOBALS.php in the forum root and adm/ folders should actually be a symlink to the one inside the include/ directory.
FUDforum Core Developer
|
|
|
|
Re: BROKEN lock/unlock files in 2.6.6 [message #22439 is a reply to message #22427] |
Thu, 03 February 2005 14:56 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Forum's php files need to be readable and modifyable by the server, but they do not require executable permission.
FUDforum Core Developer
|
|
|