{"id":2962293,"date":"2012-08-12T17:15:22","date_gmt":"2012-08-12T17:15:22","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/permissions-on-vps\/"},"modified":"2016-08-20T14:54:19","modified_gmt":"2016-08-20T14:54:19","slug":"permissions-on-vps","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/permissions-on-vps\/","title":{"rendered":"permissions on VPS"},"content":{"rendered":"<p>Im not sure if this question is about server, git or wordpress.<br \/>\ni have wordpress set up on ubuntu VPS in \/home\/user<br \/>\nits working now when all chown and group is &#8220;user&#8221;.<\/p>\n<p>however, when i git pull (as user root) it set the files owner and group to root. then they dont work.<\/p>\n<p>so either wordpress should be able to run with files who have root ownership, or somehow the wordpress directory should automatically chown when i pull, possible?<\/p>\n<p>where does wordpress say what user can do stuff, or this not wordpress related atall?<\/p>\n","protected":false},"template":"","class_list":["post-2962293","topic","type-topic","status-closed","hentry","topic-tag-permissions"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2962293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2962293\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2962293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}