You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adam Stokes edited this page Mar 19, 2015
·
1 revision
By default rsync will set the owner/group of the deploy.user set in your config. With rsync versions 3.1.0 and above you can set an alternate user/group with the following:
This will use the root user to deploy and set www-data for all the files in /srv/blog. Make sure to include the -avz flag as it will overwrite the default flags.