[opensuse] RPM executes application in current user session
Hello opensuse@opensuse.org! How can I create an RPM package which will contain my own executable package to be started during installation, but with current logged user session instead of installing it as root. Thanks for all ideas in advance. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
El 24/02/11 10:15, Roland Turcan escribió:
Hello opensuse@opensuse.org!
How can I create an RPM package which will contain my own executable package to be started during installation, but with current logged user session instead of installing it as root.
Thanks for all ideas in advance.
RPM has no notion of "currently logged user", there is no way to start the process the way you are stating. To help you, please tell us what _specifically_ you want to accomplish. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
<<< 24.02.2011 14:28 - Cristian Rodríguez "crrodriguez@opensuse.org" >>> CR> El 24/02/11 10:15, Roland Turcan escribió:
Hello opensuse@opensuse.org!
How can I create an RPM package which will contain my own executable package to be started during installation, but with current logged user session instead of installing it as root.
Thanks for all ideas in advance.
CR> RPM has no notion of "currently logged user", there is no way to start CR> the process the way you are stating. CR> To help you, please tell us what _specifically_ you want to accomplish. Thanks for reply. I want to start during installation of RPM my own installer created with InstallJammer and install it into user's home. Because RPM runs as ROOT then it will not be possible. :-( PS: I know about installation of application into home is dirty way, but easier to maintenance. -- Best regards, TRoland http://www.rotursoft.sk http://exekutor.rotursoft.sk -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
El 24/02/11 11:39, Roland Turcan escribió:
I want to start during installation of RPM my own installer created with InstallJammer and install it into user's home.
You can't, and you shouldnt either.
Because RPM runs as ROOT then it will not be possible. :-(
Correct, it is designed to work that way.
PS: I know about installation of application into home is dirty way, but easier to maintenance.
In what sense it is easier ? still not getting to the main issue-.. what is the problem with installing the app as root, and then making the user to run it, create user-specific data or whatever needed ? What it is needed to address is the dificulty you see in maintenance,rolling a custom installer is most certainly not the solution, neither will "ease" anything. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Roland Turcan