Wordpress automatic updates on ssh

http://wpforce.com/wordpress-tutorial-s … l-upgrade/">http://wpforce.com/wordpress-tutorial-ssh-install-upgrade/

Ive been looking at the above link in order to get automatic updates running on wordpress over ssh. Can anyone tell me if this is a safe thing to do ?

Is anyone else using automatic updates on wordpress ? is there any easy way to get this working ?

3 Replies

I usually just make the entire Wordpress directory temporarily owned by www-data, upgrade, then chown it back.

Never tried this method.

-Tim

@theckman:

I usually just make the entire Wordpress directory temporarily owned by www-data, upgrade, then chown it back.

Never tried this method.

-Tim

Could you paste the both commands you mention?

Thanks

@Rick:

@theckman:

I usually just make the entire Wordpress directory temporarily owned by www-data, upgrade, then chown it back.

Never tried this method.

-Tim

Could you paste the both commands you mention?

Thanks

chown -R www-data:www-data /var/www/domain/htdocs

Replace www-data with your webserver's user and then the filepath with your own filepath. The -R flag means recursive.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct