Interesting this tip that I found here. where it shows us a solution for when we need to update our plugins, themes or the database itself WordPress and it asks us for username and password.
This can be useful for a security issue, but if we want to avoid it, all we have to do is add to the file wp-config.php the lines:
define ('FS_METHOD', 'direct'); define ('FS_CHMOD_DIR', 0777); define ('FS_CHMOD_FILE', 0777);
And that's it 😉
Good tip, although I liked the mandatory login in WordPress (so I don't lose the habit of using root for "important" issues in GNU / Linux).
Or you can also do a chown and set the owner to www-data or put your user in that group.
And if you're on shared hosting, screw you.
I must have offended someone to delete a comment without malicious intent
My apologies, it did not appear, now it does
I have searched for two days for the solution to that problem and thanks to your solution I have proceeded to create the website that I have to do, thank you very much!
Great contribution! Thank you very much and continue like this!
Thank you very much for this article. Solved the problem for me
Good post 100% functional