|
|
|
Re: GOLBALS.php & Custom_avatars won't delete [message #218 is a reply to message #216] |
Fri, 25 January 2002 16:44 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
iono14 wrote on Fri, 25 January 2002 5:39 AM | I must have worded that wron I wanna completley delete all the files from this board software off of my server and it won't do that it says permission denied on my ftp. How can this be fixed?
|
Hmm... You'll need to remove 2 directories, the forum directory in your browseable dir, where all the viewable files are kept and then the directory where all the forum data is kept.
FUDforum Core Developer
|
|
|
|
Re: GOLBALS.php & Custom_avatars won't delete [message #222 is a reply to message #221] |
Fri, 25 January 2002 22:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
iono14 wrote on Fri, 25 January 2002 4:19 PM | I never even got the board installed i tryed to but the mysql stinks somthing awful on portland. and I deleted all the dirs but the ones i am complaining about they won't delete it says access denied when i click delete.
|
Which folder are you trying to delete?
FUDforum Core Developer
|
|
|
|
Re: GOLBALS.php & Custom_avatars won't delete [message #301 is a reply to message #299] |
Thu, 31 January 2002 20:33 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Hydro wrote on Thu, 31 January 2002 2:25 PM | i also get no permission in the style dir.. cant upload.write.del
|
The reason is because the webserver is the "owner" of the files.
However, since you are the owner of the directory structure, you can chmod things back so that you may edit the files.
For Example: My forum data was installed into /home/forum/forum/, my styles in stored inside /home/forum/forum/styles/. The directory /home/forum/forum/ is owned by nobody:nobody (user:group), while I am user (myuser:mygroup). Here is what I do:
This makes me the owner of those directories chown myuser:mygroup /home/forum/forum/ /home/forum/forum/styles/
Give 666 permissions to all files inside styles/ directory so webserver can edit them. chmod 666 /home/forum/forum/styles/*
if you do not have a shell account, simply write a php script, and put 2nd command I've listed inside exec() or system() call.
To remove a file you can use php's unlink() command and to remove a directory you can use rmdir() command.
FUDforum Core Developer
|
|
|