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

Denis Golovin (JIRA) issues at jboss.org
Tue Oct 18 03:36:00 EDT 2016


Denis Golovin created JBDS-4121:
-----------------------------------

             Summary: 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: Blocker
             Fix For: 10.2.0.AM3


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
(v6.4.11#64026)



More information about the jbosstools-issues mailing list