{"id":753,"date":"2015-10-26T08:48:06","date_gmt":"2015-10-26T12:48:06","guid":{"rendered":"http:\/\/tech.creed3.com\/?p=753"},"modified":"2015-10-26T08:48:06","modified_gmt":"2015-10-26T12:48:06","slug":"mac-permissions","status":"publish","type":"post","link":"https:\/\/tech.creed3.com\/?p=753","title":{"rendered":"Mac Permissions"},"content":{"rendered":"<p><img decoding=\"async\" style=\"margin: 0 0 4px 4px;\" alt=\"\" src=\"images\/stories\/batchmod.png\" width=\"100\" align=\"right\" border=\"0\" \/>So I had a permissions issue the other day. &nbsp;It started because I was needing to do some file sharing between two Macs running Yosemite, and not matter what I tried I could not get file sharing to work. &nbsp;Eventually stupidity set in&#8230;.<!--more--><\/p>\n<p>Wondering if it could be a file permissions issue I decided to change them and add some user access. &nbsp;Not only was that not the issue, but it suddenly prevented some of my apps from launching. &nbsp;Oh boy. &nbsp;It&#8217;s important to note that there is NO &#8216;undo&#8217; command for this level of dumb.<\/p>\n<p>Rather than diagnosing my network sharing issue I switched to researching what the &#8216;normal&#8217; file permissions should be so I could reset things. &nbsp;I discovered that info is not easily found. &nbsp;I also discovered while it&#8217;s really easy to change your file permissions, it&#8217;s not so easy to revert back. &nbsp;I first tried using Disk Utility to fix permissions. &nbsp;That works okay, except it doesn&#8217;t touch User folders which is where my problems were. &nbsp;I found an article suggesting User folder permissions can be reset by rebooting in to safe mode and launching the passwordreset utility in Terminal. &nbsp;Once it launches there is an option to select a User folder and reset permissions. &nbsp;Great! &nbsp;But that didn&#8217;t work either.<\/p>\n<p>Then I discovered a free app called <a href=\"http:\/\/www.lagentesoft.com\/batchmod\/index.html\" target=\"_blank\">BatChmod<\/a>. &nbsp;This is a brilliant app that does one thing only: simplifies managing UNIX file permissions on a Mac. &nbsp;If you don&#8217;t understand any of this then don&#8217;t download the app and use it. &nbsp;You can create havoc VERY quickly. &nbsp;In my case, I do know enough about permissions to be dangerous, but also to realize they need to be reset entirely, which this app will do in a flash. &nbsp;The GUI presents a very Mac-like file info appearance and allows you to reset permissions to just one user, include all subfolders and files, and remove any ACLs attached to anything. &nbsp;I was able to use another Mac to quickly check what those permissions should be and within a few moments was back in business.<\/p>\n<p><a href=\"http:\/\/www.lagentesoft.com\/batchmod\/index.html\" target=\"_blank\">BatChmod<\/a> saved my bacon. &nbsp;Or at the very least, saved me a lot of Terminal time hashing through the issue. &nbsp;My hat&#8217;s off to the creator.<\/p>\n<p>As for the file sharing issue, it&#8217;s still not resolved. &nbsp;I&#8217;ve yet to have enough time and materials to network our new abode and so I&#8217;m suffering with wi-fi which I&#8217;m beginning to suspect may be part of the problem. &nbsp;Changing firewall settings and disabling IPv6 has not helped. &nbsp;I&#8217;ve read where starting with Mavericks Apple has decided to stop using AFP and to adopt SMB for network file sharing. &nbsp;Maybe somewhere in there lies the problem. &nbsp;Yet I can share files using SMB with an older Mac server still running Snow Leopard. &nbsp;Just not between two Yosemite Macs. &nbsp;Hmph!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I had a permissions issue the other day. &nbsp;It started because I was needing to do some file sharing between two Macs running Yosemite, and not matter what I tried I could not get file sharing to work. &nbsp;Eventually stupidity set in&#8230;.<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,19,16],"tags":[],"class_list":["post-753","post","type-post","status-publish","format-standard","hentry","category-my-favorite-mac-apps","category-mac","category-technology"],"views":1867,"_links":{"self":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts\/753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=753"}],"version-history":[{"count":0,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts\/753\/revisions"}],"wp:attachment":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}