rhubarbgroup / .github

Community Health Files
https://github.com/rhubarbgroup/
0 stars 0 forks source link

Filesystem - Not writeable (777 permissions) #43

Closed coffebar closed 12 months ago

coffebar commented 12 months ago

I did sudo chmod -R 777 wp-content

drwxrwxrwx 13 www-data dev 4096 Nov 5 15:40 wp-content/

and plugin still says Filesystem - Not writeable

tillkruss commented 12 months ago

I assume the owner is wrong.

yatsukhnenko commented 12 months ago

It might be selinux

coffebar commented 12 months ago

It might be selinux

not in my case

coffebar commented 12 months ago

It may be related to call of request_filesystem_credentials that Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem. For my WP setup, this form is not filled by password without user. So this call may fail

tillkruss commented 12 months ago

Correct, for Redis Object Cache to toggle the drop-in it needs filesystem permissions. If you didn't configure them, then you'll see Not writeable.

In the next version you can use WP_REDIS_DISABLE_DROPIN_CHECK.

emf-developer commented 11 months ago

if you have ftp error like when trying to install a plugin, add this in wp-config.php:

define('FS_METHOD', 'direct');