{"id":1181,"date":"2019-06-13T11:59:48","date_gmt":"2019-06-13T04:59:48","guid":{"rendered":"https:\/\/tino.vn\/?post_type=ht_kb&#038;p=1181"},"modified":"2020-04-10T10:57:37","modified_gmt":"2020-04-10T03:57:37","slug":"khac-phuc-loi-khong-cai-duoc-plugins-hoac-themes-tren-website-wordpress-do-sai-phan-quyen","status":"publish","type":"ht_kb","link":"https:\/\/tino.vn\/blog\/docs\/khac-phuc-loi-khong-cai-duoc-plugins-hoac-themes-tren-website-wordpress-do-sai-phan-quyen\/","title":{"rendered":"Kh\u1eafc ph\u1ee5c l\u1ed7i kh\u00f4ng c\u00e0i \u0111\u01b0\u1ee3c Plugins ho\u1eb7c Themes tr\u00ean website WordPress do sai ph\u00e2n quy\u1ec1n."},"content":{"rendered":"<p>Trong tr\u01b0\u1eddng h\u1ee3p b\u1ea1n th\u1ef1c hi\u1ec7n thao t\u00e1c SSH v\u00e0o VPS v\u1edbi user root, m\u1ed9t s\u1ed1 nh\u1eadn bi\u1ebft l\u1ed7i ho\u1ea1t \u0111\u1ed9ng khi b\u1ea1n th\u1ef1c hi\u1ec7n c\u00e0i Plugins ho\u1eb7c Themes s\u1ebd y\u00eau c\u1ea7u nh\u1eadp th\u00f4ng tin FTP ( nh\u01b0 h\u00ecnh )<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1182\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2019\/06\/err1.png\" alt=\"\" width=\"1686\" height=\"882\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2019\/06\/err1.png 1686w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2019\/06\/err1-300x157.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2019\/06\/err1-768x402.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2019\/06\/err1-1024x536.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2019\/06\/err1-1536x804.png 1536w\" sizes=\"(max-width: 1686px) 100vw, 1686px\" \/><\/p>\n<p>Theo d\u00f5i \u0111o\u1ea1n m\u00e3 cu\u1ed1i c\u00f9ng th\u1ef1c hi\u1ec7n t\u1ea1i th\u01b0 m\u1ee5c g\u1ed1c c\u1ee7a m\u00e3 ngu\u1ed3n, t\u1ea1i \u0111\u00e2y m\u00ecnh s\u1ebd th\u00e2y c\u00f3 ph\u1ea7n Markets \u0111ang \u0111\u1ecdc d\u1eef li\u1ec7u , v\u00e0 m\u00ecnh s\u1ebd th\u1ef1c hi\u1ec7n l\u1ec7nh sau :<\/p>\n<pre class=\"line-numbers\"><code class=\"language-markup\">[root@sv public_html]# chown markets: -R *<\/code><\/pre>\n<p>Sau \u0111\u00f3 ki\u1ec3m tra l\u1ea1i v\u00e0 b\u1ea1n \u0111\u00e3 c\u00f3 th\u1ec3 thao t\u00e1c, t\u01b0\u01a1ng t\u1ef1 n\u1ebfu b\u1ea1n th\u1ea5y user kh\u00e1c b\u1ea1n ch\u1ec9 c\u1ea7n thay \u0111\u1ed5i l\u1ea1i gi\u1ed1ng v\u1edbi t\u00ean \u0111\u00f3.<\/p>\n<pre class=\"line-numbers\"><code class=\"language-markup\">[root@sv public_html]# ll\r\ntotal 204\r\n-rw-r--r--  1 root    root      420 Nov 30  2017 index.php\r\n-rw-r--r--  1 root    root    19935 Jan  1 15:37 license.txt\r\n-rw-r--r--  1 root    root     7447 Apr  8 18:59 readme.html\r\n-rw-r--r--  1 root    root     6919 Jan 12 01:41 wp-activate.php\r\ndrwxr-xr-x  9 root    root     4096 May 21 14:24 wp-admin\r\n-rw-r--r--  1 root    root      369 Nov 30  2017 wp-blog-header.php\r\n-rw-r--r--  1 root    root     2283 Jan 20 20:34 wp-comments-post.php\r\n-rw-rw-rw-  1 markets markets  3181 Jun 13 00:00 wp-config.php\r\n-rw-r--r--  1 root    root     2898 Jan  7 23:30 wp-config-sample.php\r\ndrwxr-xr-x  4 root    root     4096 May 21 14:24 wp-content\r\n-rw-r--r--  1 root    root     3847 Jan  9 03:37 wp-cron.php\r\ndrwxr-xr-x 20 root    root    12288 May 21 14:24 wp-includes\r\n-rw-r--r--  1 root    root     2502 Jan 16 00:29 wp-links-opml.php\r\n-rw-r--r--  1 root    root     3306 Nov 30  2017 wp-load.php\r\n-rw-r--r--  1 root    root    39574 Apr 15 18:39 wp-login.php\r\n-rw-r--r--  1 root    root     8403 Nov 30  2017 wp-mail.php\r\n-rw-r--r--  1 root    root    18962 Mar 28 15:04 wp-settings.php\r\n-rw-r--r--  1 root    root    31085 Jan 16 11:51 wp-signup.php\r\n-rw-r--r--  1 root    root     4764 Nov 30  2017 wp-trackback.php\r\n-rw-r--r--  1 root    root     3068 Aug 16  2018 xmlrpc.php\r\n[root@sv public_html]# chown markets: -R *\r\n[root@sv public_html]# ll\r\ntotal 204\r\n-rw-r--r--  1 markets markets   420 Nov 30  2017 index.php\r\n-rw-r--r--  1 markets markets 19935 Jan  1 15:37 license.txt\r\n-rw-r--r--  1 markets markets  7447 Apr  8 18:59 readme.html\r\n-rw-r--r--  1 markets markets  6919 Jan 12 01:41 wp-activate.php\r\ndrwxr-xr-x  9 markets markets  4096 May 21 14:24 wp-admin\r\n-rw-r--r--  1 markets markets   369 Nov 30  2017 wp-blog-header.php\r\n-rw-r--r--  1 markets markets  2283 Jan 20 20:34 wp-comments-post.php\r\n-rw-rw-rw-  1 markets markets  3181 Jun 13 00:00 wp-config.php\r\n-rw-r--r--  1 markets markets  2898 Jan  7 23:30 wp-config-sample.php\r\ndrwxr-xr-x  4 markets markets  4096 May 21 14:24 wp-content\r\n-rw-r--r--  1 markets markets  3847 Jan  9 03:37 wp-cron.php\r\ndrwxr-xr-x 20 markets markets 12288 May 21 14:24 wp-includes\r\n-rw-r--r--  1 markets markets  2502 Jan 16 00:29 wp-links-opml.php\r\n-rw-r--r--  1 markets markets  3306 Nov 30  2017 wp-load.php\r\n-rw-r--r--  1 markets markets 39574 Apr 15 18:39 wp-login.php\r\n-rw-r--r--  1 markets markets  8403 Nov 30  2017 wp-mail.php\r\n-rw-r--r--  1 markets markets 18962 Mar 28 15:04 wp-settings.php\r\n-rw-r--r--  1 markets markets 31085 Jan 16 11:51 wp-signup.php\r\n-rw-r--r--  1 markets markets  4764 Nov 30  2017 wp-trackback.php\r\n-rw-r--r--  1 markets markets  3068 Aug 16  2018 xmlrpc.php\r\n[root@sv public_html]# cd\r\n[root@sv ~]#<\/code><\/pre>\n<p>\u0110\u1ec3 c\u00f3 c\u00e1i nh\u00ecn t\u1ed5ng quan h\u01a1n, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng l\u1ec7nh sau \u0111\u1ec3 xem th\u00f4ng tin User =&gt; website c\u1ee7a b\u1ea1n ho\u1ea1t \u0111\u1ed9ng.<\/p>\n<pre class=\"line-numbers\"><code class=\"language-markup\">[root@sv ~]# ls -l \/home<\/code><\/pre>\n<p>V\u00e0 t\u01b0\u01a1ng \u1ee9ng b\u1ea1n th\u1ef1c hi\u1ec7n l\u1ec7nh \u0111\u1ec3 thay \u0111\u1ed5i l\u1ea1i ph\u00e2n quy\u1ec1n<\/p>\n<pre class=\"line-numbers\"><code class=\"language-markup\">[root@sv ~]# chown -R helloadmin:helloadmin \/home\/your-domain\/public_html<\/code><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trong tr\u01b0\u1eddng h\u1ee3p b\u1ea1n th\u1ef1c hi\u1ec7n thao t\u00e1c SSH v\u00e0o VPS v\u1edbi user root, m\u1ed9t s\u1ed1 nh\u1eadn bi\u1ebft l\u1ed7i ho\u1ea1t \u0111\u1ed9ng khi b\u1ea1n th\u1ef1c hi\u1ec7n c\u00e0i Plugins ho\u1eb7c Themes s\u1ebd y\u00eau c\u1ea7u nh\u1eadp th\u00f4ng tin FTP ( nh\u01b0 h\u00ecnh ) Theo d\u00f5i \u0111o\u1ea1n m\u00e3 cu\u1ed1i c\u00f9ng th\u1ef1c hi\u1ec7n t\u1ea1i th\u01b0 m\u1ee5c g\u1ed1c c\u1ee7a m\u00e3 ngu\u1ed3n, [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1182,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"tags":[],"ht_kb_category":[1074],"class_list":["post-1181","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-cyber-panel"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/1181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=1181"}],"version-history":[{"count":0,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/1181\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/1182"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=1181"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=1181"},{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb_category?post=1181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}