[jbosstools-issues] [JBoss JIRA] (JBDS-4121) Run DevSuite Installer with Elevated privileges on Mac OSX

Denis Golovin (JIRA) issues at jboss.org
Thu Jul 20 11:49:00 EDT 2017


    [ https://issues.jboss.org/browse/JBDS-4121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438281#comment-13438281 ] 

Denis Golovin commented on JBDS-4121:
-------------------------------------

Another approach explained here https://discussions.apple.com/thread/413287?start=0&tstart=0

> Run DevSuite Installer with Elevated privileges on Mac OSX
> ----------------------------------------------------------
>
>                 Key: JBDS-4121
>                 URL: https://issues.jboss.org/browse/JBDS-4121
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Feature Request
>          Components: platform-installer
>    Affects Versions: 10.2.0.AM2
>         Environment: Mac OS X
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>            Priority: Critical
>             Fix For: 11.0.0.GA
>
>         Attachments: DevSuite.zip
>
>
> During installation PATH environment variable should be updated. For example to make permanent changes for PATH variable /etc/paths file should be modified and that requires administrative privileges.
> For Alpha release we could be running installer with sudo
> {code}sudo open DevSuite.app{code}
> Another option to investigate is using AppleScript and run the same shell script above with elevated privileges like this
> {code}do shell script «open DevSuite.app» with administrator privileges{code} 
> that would trigger standard UI Dialog requesting user login/password with administrative privileges. This should be included int DevSuite.app package configuration after it is assembled by electron packages.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list