Bug 1373695

Summary: Can't install CLI on Mac. "oc" is damaged and can't be open
Product: OpenShift Online Reporter: Michael Wenger <michaelwenger27>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED WORKSFORME QA Contact: Xingxing Xia <xxia>
Severity: low Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, cewong, jforrest, jokerman, jvallejo, michaelwenger27, mmccomas
Target Milestone: ---Flags: jforrest: needinfo? (michaelwenger27)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-30 03:00:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
can't open file none

Description Michael Wenger 2016-09-07 00:56:14 UTC
Created attachment 1198472 [details]
can't open file

Description of problem:

When downloading the CLI from https://console.hackathon.openshift.com/console/project/clinical-trial-match/create/next?name=rails-postgresql-example&namespace=openshift.

When trying to open the file, I get the error "oc" is damaged and can't be opened. You should move it to the trash.

I am running OS X El Capitan Version 10.11.4.

Comment 1 Juan Vallejo 2016-09-07 13:45:46 UTC
Hi Michael, when you go to: 

System Preferences > Security & Privacy, 

does the section towards the bottom titled "Allow apps downloaded from:" have the top (Mac App Store) or middle option (Mac App Store and identified developers) checked?

If this is the case, try right-clicking the `oc` executable and selecting `open` from the context menu and let me know if this solves the issue.

Comment 2 Cesar Wong 2016-09-07 13:58:42 UTC
I downloaded the client from this page and it works fine on my machine (OS X El Capitan): 
https://console.hackathon.openshift.com/console/command-line

You get to it by clicking on the question mark in the banner and navigating to 'Command Line Tools'

There should be different links to download the tools by platform.

Comment 3 Jessica Forrester 2016-09-07 16:49:04 UTC
Let us know if downloading the Mac version of the CLI from the link in comment 2 still doesn't work for you.

Comment 4 Cesar Wong 2016-09-30 03:00:37 UTC
Closing this because it can no longer be reproduced. Please reopen if you still run into this issue.