{"id":399,"date":"2021-05-08T22:04:05","date_gmt":"2021-05-08T22:04:05","guid":{"rendered":"https:\/\/www.valleau.art\/blog\/?p=399"},"modified":"2023-06-19T21:03:19","modified_gmt":"2023-06-19T21:03:19","slug":"permissions-fetching-the-fix","status":"publish","type":"post","link":"https:\/\/valleau.art\/blog\/permissions-fetching-the-fix\/","title":{"rendered":"Permissions &#8220;fetching&#8230;&#8221; &#8211; the FIX!"},"content":{"rendered":"<p>Permissions: &#8220;fetching&#8230;&#8221; the fix.<\/p>\n<p>So you&#8217;ve checked your permission on a problematic file, and discovered that that first entry is for a user named &#8220;fetching&#8230;&#8221;<\/p>\n<p>More than a little trouble, especially if you just migrated 1.2 million files from one machine to another.<\/p>\n<p>You can&#8217;t move or delete almost anything at all without having to enter your password. Here&#8217;s the problem: permissions are read in order, and if the first one (fetching&#8230;) can not be found, things get wonky.<\/p>\n<p>The are a number of extremely tedious fixed out there on the font-of-all-wisdom (the internet) but wouldn&#8217;t a simple quick fix be nice?<\/p>\n<p>First, if the file is in fact a folder with a little red dot and minus sign on the icon, the fix is simple: do a command I (get info) and where it says &#8220;fecthing&#8230;&#8221; just hilight it, and click the &#8211; minus button. Done.<\/p>\n<p>Here it is: <br \/>The files are trying to access a user who no longer exists on your machine. The user is recognized by his\/her &#8220;UID&#8221; number.<\/p>\n<p>The fix is simple: create a new user with the correct (missing) UID.<\/p>\n<p>Here&#8217;s how to do that:<\/p>\n<p>First, you need an example of an affected file with the corrupt preferences (where the top preference name is &#8220;fetching&#8230;&#8221;)<\/p>\n<p>Open the terminal and enter<\/p>\n<p>ls -le (drag affected file here)<\/p>\n<p>You entry might then look similar to this<\/p>\n<p>ls -le \/Volumes\/Data\/wonkyfile.txt<\/p>\n<p>Hit enter, and the resulting line will look similar to this:<\/p>\n<p>-rw-r&#8211;r&#8211;@ 1 501 staff 11522 Apr 17 11:14 \/Volumes\/Data\/wonkyfile.txt<\/p>\n<p>where the 501 (or whatever number it is, let&#8217;s call it NNN) is the first listed permission and therefore IS the UID that is &#8220;fetching&#8230;&#8221;<\/p>\n<p>You&#8217;re done in the terminal.<\/p>\n<p>Visit system preferences\/ users &amp; groups<\/p>\n<p>unlock the padlock, and click the + button to create a new admin user with password. Might name it FixFetch, for example.<\/p>\n<p>When done, contol click on the new fixfetch user in the &#8220;other users&#8221; listing in the left-hand column, and select advanced options.<\/p>\n<p>BINGO! There&#8217;s the UID assigned to &#8220;fixfetch&#8221;. Replace whatever the number is with NNN, that you found in the terminal.<\/p>\n<p>You&#8217;re done. All those &#8220;fetching&#8230;&#8221; names in preferences will now be &#8220;fixfetch&#8221; and your problems have vanished.<\/p>\n<p>Done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Permissions: &#8220;fetching&#8230;&#8221; the fix. So you&#8217;ve checked your permission on a problematic file, and discovered that that first entry is for a user named &#8220;fetching&#8230;&#8221; More than a little trouble, especially if you just migrated 1.2 million files from one machine to another. You can&#8217;t move or delete almost anything at all without having to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-399","post","type-post","status-publish","format-standard","hentry","category-mac-tips"],"_links":{"self":[{"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/posts\/399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/comments?post=399"}],"version-history":[{"count":2,"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/posts\/399\/revisions"}],"predecessor-version":[{"id":508,"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/posts\/399\/revisions\/508"}],"wp:attachment":[{"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/media?parent=399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/categories?post=399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/valleau.art\/blog\/wp-json\/wp\/v2\/tags?post=399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}