chroot FTP access to plugins directory.. playing up.
-
Hi,
I’m on version 3.0.4 and have created a virtual FTP user who I have chrooted to /var/www/<mysite>/wp-content/plugins. I’ve done this so I can use the FTP upload functionality on the plugins directory only and don’t have to faff about changing permissions on files that are outside the above directory.
I think i can see my problem, I’m just not sure how to fix it.. the problem is the ftp function is looking for a certain directory layout:
Unable to locate WordPress Content directory (wp-content).I’m guessing this is because its expecting to be chrooted to the root of the blog rather than the plugins directory? Is it possible at all for me to change a parameter or override the FTP base directory so that I don’t have to open the whole blog installation up to this virtual user?
Thanks in advance for any help.
Andy.
The topic ‘chroot FTP access to plugins directory.. playing up.’ is closed to new replies.