Maia IC uses install dir for system and config instead of user dir??

This is in part a follow on to http://www.jetbrains.net/devnet/message/5248804

It appears that Maia IC writes its 'system' and 'config' directories into the directory in which IntelliJ was installed, as opposed to into the user home directory like it used to do with 8.1 (~/.IntelliJIdea8x or ~/IntelliJIdea80 for example).  Is this expected?  This causes problems on a "normal" *nix setup where binaries are usually installed as root.  What ends up happening is that I get failures on launch because of file/diretory permisssion denials.

I can adjust the installs to allow my "normal" user to write to these 2 directories, so its "no big deal".  I just want to make sure this is intentional though before doing that since that route means I'll need to do those same steps everytime I install a new version.

7 comments
Comment actions Permalink

This is unequivocally the issue I was having.  chmod on both {installdir}/config and {installdir}/system allowed my "normal" user to launch maia.

So again, is this the intention?

0
Comment actions Permalink

Steve,

I had the same experience.  It seems like a bug because IC edition is behaving different from IU edition.  I haven't seen Jetbrains comment on the issue yet.

IC-90.96  doesn't start on Linux (Ubuntu 09.04)
http://www.jetbrains.net/devnet/thread/284306?tstart=90

-Alex

0
Comment actions Permalink

Well you can sort of see the logic.  They expect IC to be a single user installl so they do not separate out the install dir and home dir.  But regardless this causes problems on Linux systems in the normal way of installing stuff as both you and I discovered.

Maia devs?  Is this intentional?  Is this really how it will be moving forward?  If so, ok but perhaps you could come up with a better impl plan for Linux/Unix users?  Maybe including shell system and plugin directores with o+w & g+w permissions (assuming the tgz has permissions set up).

0
Comment actions Permalink

Hello Steve,

No, this is not really an intentional change. We'll fix that and bundle a
more adequate version of idea.properties by default.

Well you can sort of see the logic.  They expect IC to be a single
user installl so they do not separate out the install dir and home
dir.  But regardless this causes problems on Linux systems in the
normal way of installing stuff as both you and I discovered.

Maia devs?  Is this intentional?  Is this really how it will be moving
forward?  If so, ok but perhaps you could come up with a better impl
plan for Linux/Unix users?  Maybe including shell system and plugin
directores with ow & gw permissions (assuming the tgz has
permissions set up).


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Ahh, I see that.  Looking at that file versus my 8.1 copy, it looks like I can simply alter this such that:

idea.config.path=${idea.home}/config
idea.system.path=${idea.home}/system
idea.plugins.path=${idea.home}/config/plugins


becomes:

idea.config.path=${user.home}/.IntellijIdea9xIC/config
idea.system.path=${user.home}/.IntellijIdea9xIC/system
idea.plugins.path=${user.home}/.IntellijIdea9xIC/config/plugins


This is assuming that the ${user.home} "macro" is a available in Maia IC as it is in 8.1; is that a valid assumption?  If not, would using ~/.IntellijIdea9xIC work?  Specifically, would the '~' be interpretted for each launch?

0
Comment actions Permalink

Tested this theory.  It works.  So ${user.home} is still valid in maia IC.

0
Comment actions Permalink

So  this is answered pending a release that address it.  Thanks Dmitry

0

Please sign in to leave a comment.