New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

In Wordpress - cannot install plugin , it defaults to FTP upload box

Started by salabim, January 26, 2021, 09:08:08 PM

Previous topic - Next topic

salabim

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!

Sandeep

How to change ownership on the files and folders
go to CWP.admin Left Menu --> User Accounts -- > Fix Permissions and select user.

salabim

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