]
Denis Golovin updated JBDS-4121:
--------------------------------
Attachment: DevSuite.zip
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
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.