Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hex-fiend with chmod go=u #9895

Merged
merged 1 commit into from
Mar 15, 2015
Merged

Fix hex-fiend with chmod go=u #9895

merged 1 commit into from
Mar 15, 2015

Conversation

szhu
Copy link
Contributor

@szhu szhu commented Mar 5, 2015

Hex Fiend does not correctly set 'group' and 'other' permissions and will crash if a non-owner runs it. The buggy files are fixed by updating their 'group' and 'other' permissions to reflect the 'user' permissions: chmod go=u.


Before this fix:

screen shot 2015-03-05 at 3 25 38 am

$ '/opt/homebrew-cask/Caskroom/hex-fiend/2.3.0/Hex Fiend.app/Contents/MacOS/Hex Fiend'
dyld: Library not loaded: @loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle
  Referenced from: /opt/homebrew-cask/Caskroom/hex-fiend/2.3.0/Hex Fiend.app/Contents/MacOS/Hex Fiend
  Reason: no suitable image found.  Did find:
    /opt/homebrew-cask/Caskroom/hex-fiend/2.3.0/Hex Fiend.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle: stat() failed with errno=13
    /opt/homebrew-cask/Caskroom/hex-fiend/2.3.0/Hex Fiend.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle: stat() failed with errno=13
$ ll '/opt/homebrew-cask/Caskroom/hex-fiend/2.3.0/Hex Fiend.app/Contents/Frameworks/'
total 0
drwxr-xr-x  6 Administrator   204B Mar  5 03:16 HexFiend.framework/
drwx------  6 Administrator   204B Mar  5 03:16 Sparkle.framework/

Hex Fiend does not correct set 'group' and 'other' permissions and will crash if
a non-owner runs it. The buggy files are fixed by updating their 'group' and
'other' permissions to reflect the 'user' permissions: chmod go=u.
@fanquake fanquake added the cask label Mar 6, 2015
vitorgalvao added a commit that referenced this pull request Mar 15, 2015
Fix hex-fiend with chmod go=u
@vitorgalvao vitorgalvao merged commit 8364a33 into Homebrew:master Mar 15, 2015
@vitorgalvao
Copy link
Member

Thank you for the fix — it works great — and specially for contacting the developer. Fixing this upstream would be preferable, naturally.

@miccal miccal removed the cask label Dec 23, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants