{"id":4130372,"date":"2013-09-15T18:14:01","date_gmt":"2013-09-15T18:14:01","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wordpress-permission-on-vps\/"},"modified":"2016-08-21T05:11:31","modified_gmt":"2016-08-21T05:11:31","slug":"wordpress-permission-on-vps","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wordpress-permission-on-vps\/","title":{"rendered":"WordPress permission on VPS (Hardening WP)"},"content":{"rendered":"<p>Hi all WP users,<br \/>\nI migrated my website from shared host to VPS. Upon migration, I am having trouble with permissions.<br \/>\nHardening WordPress page in Codex recommends files to be 644 and directories 755. However, with that permission, the files are not writable by the server (CentOS 6.4 with apache). Therefore I&#8217;m unable to delete\/update or add new plugins from within dashboard.<\/p>\n<p>If I change permission to 664 for file and 775 (i.e. give write permission to group), plugins are updated and modified.<\/p>\n<p>Is it safe to run WP with these permissions on VPS?<br \/>\nI will appreciate if anyone will guide me on this matter. <\/p>\n<p>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-4130372","topic","type-topic","status-closed","hentry","topic-tag-ownership","topic-tag-permissions","topic-tag-vps"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4130372","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\/4130372\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4130372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}