{"id":23,"date":"2008-01-21T21:26:23","date_gmt":"2008-01-22T04:26:23","guid":{"rendered":"http:\/\/www.brunerd.com\/blog\/2008\/01\/21\/office-2008-for-the-executive\/"},"modified":"2008-01-24T09:17:16","modified_gmt":"2008-01-24T16:17:16","slug":"office-2008-for-the-executive","status":"publish","type":"post","link":"https:\/\/www.brunerd.com\/blog\/2008\/01\/21\/office-2008-for-the-executive\/","title":{"rendered":"Office 2008 for the &#8216;executive&#8217;"},"content":{"rendered":"<p>Last night, while groggily honing in on the Office 2008 installer package UID problems, I missed another glaringly obvious defect: All the files are set <strong>executable<\/strong>, yes those files owned by 502 are also set executable. Take a look again at the <a href=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/2008\/01\/officebomstxt.zip\">lsbom dump<\/a> you&#8217;ll see this everywhere: 100775. For the first two: the 10 means it&#8217;s a file, 40 is a directory. The last three (775) are significant: 7 is 4+2+1 (4:read, 2:write, 1:execute) and 5 is&#8230; that&#8217;s right: 4+1, read and execute privileges.<\/p>\n<p>Now tell me does&#8230; <code>\/Microsoft Office 2008\/Read Me.html<\/code> need to be executable for you to look at it? Tick, tick, tick, *ding*! No. It does not let&#8217;s do another!<br \/>\nDoes this god awful GIF bullet? <code>\/Microsoft Office 2008\/Office\/Media\/Clipart\/Bullets.localized\/Red Swirl<\/code> No. But it is.<br \/>\nOk. One more:<code> \/Microsoft Office 2008\/Office\/Media\/Sounds\/Yeehaw<\/code>? Yeah, you&#8217;re getting it. No.<\/p>\n<p>The only things that needs execute privileges are directories (that&#8217;s application bundles too) and executables such as: <code>Microsoft Word.app\/Contents\/MacOS\/Microsoft Word<\/code><\/p>\n<p>And can you remove this execute bit in Finder? No. You have 3 choices, Read &#038; Write, Read Only, and No Access, flip through them all and the x will still be there. You&#8217;ll need to chmod it from the terminal, but be careful, not all of them&#8230; or just give <code>chmod -R ugo-x *<\/code> a whirl, then slowly go through and chmod go+x the executables one by one and see if it still works, might be faster than the inverse&#8230; but I haven&#8217;t tested anything yet, that&#8217;s for work tommorrow&#8230; and the next day&#8230; in the mean time&#8230;<\/p>\n<p>Try this: <code>ls -lFGR \/Applications\/Microsoft\\ Office\\ 2008<\/code><\/p>\n<p>You&#8217;ll be <a href=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/2008\/01\/seeingred1.png\">seeing red<\/a>. :D<\/p>\n<p>BTW: Just in case, the media I am using is Part No: X13-64625-03, I hope MS can fix this and re-press this for Volume License customers &#8212; my day job! And speaking of just in case, thanks &#8216;justincase&#8217; of the Clix forums for pointing out the glaringly obvious.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last night, while groggily honing in on the Office 2008 installer package UID problems, I missed another glaringly obvious defect: All the files are set executable, yes those files owned by 502 are also set executable. Take a look again at the lsbom dump you&#8217;ll see this everywhere: 100775. For the first two: the 10 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,5],"tags":[],"class_list":["post-23","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-packages"],"_links":{"self":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":0,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}