On Sat, Aug 1, 2020 at 7:49 PM Bill Cole
<[email protected]> wrote:
>
> ...
> Doing a little research, I found that the reason WP sometimes asks for
> ftp credentials is that it can't directly write to the plugins
> directory. That usually means that it also can't write to any of
> wp-content/, which is a problem that will break WP once you start using
> it. The simplest fix, if your webserver is running as _www (default for
> MacPorts' apache2) and you have WP installed at
> /opt/local/www/apache2/html/wordpress/:
>
>     chmod -R _www:admin
> /opt/local/www/apache2/html/wordpress/wp-content

I would consider doing that the other way... chmod -R admin:_www. I
would also chmod 0750. Apache usually needs read access, not
read/write. Other does not need any access.

Jeff

Reply via email to