Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bb my-plugins & my-templates directories


_ck_
Participant

@_ck_

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.

<?php
rmdir("/var/www/vhosts/illuminatus.tv/httpdocs/illuminatus/bbpress/my-templates");
rmdir("/var/www/vhosts/illuminatus.tv/httpdocs/illuminatus/bbpress/my-plugins");
?>

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

rm /var/www/vhosts/illuminatus.tv/httpdocs/illuminatus/bbpress/my-templates
rm /var/www/vhosts/illuminatus.tv/httpdocs/illuminatus/bbpress/my-plugins

Skip to toolbar