Author Topic: In Wordpress - cannot install plugin , it defaults to FTP upload box  (Read 237 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi guys, Ive been trying to figure this out for a few days now

I have installed Wordpress in CWP using the script installer (and also tried via softaculous)

Everything installs fine.
However, when I try to add a plugin to Wordpress, it asks for an FTP login. I want to upload  it directly via the site, not via FTP. This hasnt happened in any other install of Wordpress I have used on other sites

As it seems it is a file permissions problem , I tried
sudo chown -R nobody:nobody /home/myuser/public_html

which works . (I am assuming that nobody is default apache user for CWP7 ?) . However this replaces all my logged in user permissions.

And so,  I cannot browse the files in eg file manager as the logged in control panel user  (since they dont have the access any more)

There must be a straightforward answer to this, but cant find. Are there some default settings , which should allow me to allow me to http upload Wordpress plugins?? its driving me crazy!

Offline
*****
Re: In Wordpress - cannot install plugin , it defaults to FTP upload box
« Reply #1 on: January 27, 2021, 05:39:42 PM »
How to change ownership on the files and folders
go to CWP.admin Left Menu --> User Accounts -- > Fix Permissions and select user.

Offline
*
Re: In Wordpress - cannot install plugin , it defaults to FTP upload box
« Reply #2 on: January 28, 2021, 04:27:34 PM »
thanks for your reply

So am I going to change ownerships for the 'nobody' user?

or the main user 'me'?

Ideally, I like to add domain folders and have them both wordpress enabled, (including adding plugins), but also be able to browse folder using the users File Manager

My question would be, what are the permission that enable both the ftp , and the account holder access?

All the best