Since bbPress 1.0 is now making directories on it’s own from PHP it will cause problems for people on many hosts, because it will be created by the root/nobody owner and a local ftp will not be able to delete it because you don’t have the permissions as a regular user.
You’d need a short PHP program to delete those as the PHP owner.
I expect quite a bit of problems because of this from people on shared hosts.
The proper way for it to be done is with posix_setuid before file disk activity but I doubt they will ever do that (or just let people put the files in place like they did with 0.9)
ps. actually your directory names seem too long, what happens if you try to
I’ve tried the script at http://184.108.40.206/illuminatus/bbpress/delete_directory.php but it doesn’t delete the two erroneous directories. I’ve also tried using plesk file manager but don’t have permissions to either delete file or change the current rwx r-x —. If I try to upload a theme to my-templates I get an ftp error ‘directory doesn’t exist’ so it appears to me that the two directories, my-plugs and templates, don’t serve bb1.0 automatic creation of directories well.
If Plesk file manager can see it but not delete it, something is very wrong.
If you are on shared hosting you may have to ask the host to delete them as root.
Make sure you are crystal clear as to which directories with your host because I’ve seen hosts wipe out the wrong thing with an underpaid, undertrained tech.
thanks for your post. I can actually log into my plesk as root but it doesn’t do more than my administrator login, still no joy. I’ll have to go for asking host to delete the two directories. This function in bb1.0 needs dropping, no?
I did report this a little while ago:
Why does bbPress make the directories using PHP and not just include empty directories in the download?
I thought at first that WordPress shipped a couple empty directories/folder, but it doesn’t appear to. So how can WordPress get this correct (creating directories as needed) and bbPress not, on the same host? Is it as Sam says, choosing security over usability (and in the process making it completely unusable)?
Even though it is fixed in https://trac.bbpress.org/changeset/2327
I svn bbPress 1.0.2 and again I had to chmod the my-templates folder
my-plugins folder even being 750 is running fine. I guess its the plugins which may require higher permissions. am i right?