|p2 update of external files [message #1386328]
||Mon, 16 June 2014 15:27
| Derek Morris
Registered: July 2009
We have a product that installs an Eclipse-based product and a bunch of other files (including executables) into a 'bin' directory that sits alongside the standard Eclipse directories. The product is cross-platforms (Windows, Linux and Mac OS). We provide installers for all platforms, and (for security reasons) the files within the 'bin' directory are owned by root/root with permission of 755.|
We also provide additional plugins that enhance the basic product, and consists of traditional eclipse plugins, with more files that sit inside the 'bin' directory. We provide these plugins as an update site, and is installed using the "Install New Software" dialog.
On Windows, everything works as we want.
However, on Linux/Mac OS, we have to run the product as "su" for the update to work. It seems that because of permissions problems, the files in the 'bin' directory are not installed.
Is there any way we can get the installer to 'elevate' to run as "su" (having asked user for permission and password, of course). Or any other thoughts on how we might do this?
Powered by FUDForum
. Page generated in 0.05641 seconds