{"id":373,"date":"2014-07-16T16:01:51","date_gmt":"2014-07-16T16:01:51","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=373"},"modified":"2014-07-16T16:01:51","modified_gmt":"2014-07-16T16:01:51","slug":"find-all-the-files-owned-by-a-particular-user-group-2","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/07\/16\/find-all-the-files-owned-by-a-particular-user-group-2\/","title":{"rendered":"Find All The Files Owned By a Particular User \/ Group"},"content":{"rendered":"<p><strong>Find file owned by a group<\/strong><\/p>\n<p>find directory-location -group {group-name} -name {file-name}<\/p>\n<p>directory-location : directory path.<br \/>\n-group {group-name} : group-name.<br \/>\n-name {file-name} : The file name or a search pattern<\/p>\n<p>Issue: Plesk server will not allow updating plugins and the site is running as fastcgi &#8211; which uses the ftp user as the root user ( coldriverw:psacln) is the user:group for this account.<\/p>\n<p>In this example, locate or find all files belongs to a group called &#8220;apache&#8221; in the \/var\/www\/vhosts\/coldriverdata.com\/httpdocs\/ directory:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n&#x5B;root@austin plugins]# find \/var\/www\/vhosts\/domain.com\/httpdocs\/ -group apache\n\/var\/www\/vhosts\/domain.com\/httpdocs\/.htaccess\n\/var\/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/enhanced-tooltipglossary\n\/var\/www\/vhosts\/domain.com\/httpdocs\/wp-content\/plugins\/enhanced-tooltipglossary\/readme.txt\n\n<\/pre>\n<p>Change the files to the correct user:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n &#x5B;root@austin plugins]# chown -R domain:psacln \/var\/www\/vhosts\/domain.com\/httpdocs\/wp-content\n<\/pre>\n<p>Retry the wordpress upload<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nUpdate Plugin\nDownloading update from https:\/\/downloads.wordpress.org\/plugin\/enhanced-tooltipglossary.zip\u2026\n\nUnpacking the update\u2026\n\nInstalling the latest version\u2026\n\nRemoving the old version of the plugin\u2026\n\nPlugin updated successfully.\n<\/pre>\n<p>More information:<br \/>\n<a href=\"http:\/\/www.cyberciti.biz\/faq\/how-do-i-find-all-the-files-owned-by-a-particular-user-or-group\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.cyberciti.biz\/faq\/how-do-i-find-all-the-files-owned-by-a-particular-user-or-group\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Find file owned by a group find directory-location -group {group-name} -name {file-name} directory-location : directory path. -group {group-name} : group-name. -name {file-name} : The file name or a search pattern Issue: Plesk server will not allow updating plugins and the site is running as fastcgi &#8211; which uses the ftp user as the root user &#8230; <a title=\"Find All The Files Owned By a Particular User \/ Group\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/07\/16\/find-all-the-files-owned-by-a-particular-user-group-2\/\" aria-label=\"Read more about Find All The Files Owned By a Particular User \/ Group\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,39],"tags":[],"class_list":["post-373","post","type-post","status-publish","format-standard","hentry","category-administration","category-find"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=373"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/373\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}