how do i delete forum files? - permissions error [message #3725] |
Thu, 04 July 2002 19:31 |
juicysauce
Messages: 14 Registered: February 2002
Karma: 0
|
Junior Member |
|
|
I love FUDforum, but I've got an old installation on one of my web sites that I'd like to get rid of. Problem is, I can't seem to delete some of the files. I get a Permission denied error message.
For instance, when I try to delete forum/adm/admannounce.php, WS FTP says
550 admannounce.php : Permission denied
! Delete of admannounce.php failed
I tried chmoding the directories before deleting files in them, but that didn't work either.
Any ideas?
Thanks!
|
|
|
|
|
|
|
Re: how do i delete forum files? - permissions error [message #3829 is a reply to message #3828] |
Sun, 07 July 2002 07:21 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
When the forum installer runs, it runs as the 'webserver' user. Hence, that user owns all the created files, so you who are a different user cannot delete those files unless they are made world writeable, which is a BIG security risk.
FUDforum Core Developer
|
|
|
|
Re: how do i delete forum files? - permissions error [message #3835 is a reply to message #3832] |
Sun, 07 July 2002 14:54 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Nope, you cann login as that user unless you have root access.
Which is why there is a unlock/lock file control panel that allows you to temporarily make all forum's files world writeable so you can delete them if need be. As well as a file manager, which allows you to upload/delete files.
FUDforum Core Developer
|
|
|