-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to install pljava without superuser role? #356
Comments
It might not be difficult, but this would have to be considered an enhancement request. |
@jcflack Thanks! Shall I open another ticket here or elsewhere? Or can I mark this issue as 'enhancement request'? |
I have so labeled it. |
The proximate issue here is that PL/Java accomplishes most of its installation by executing its own autogenerated deployment descriptor, and In this setting, however, its effect is to drop the effective superuser identity imposed by It would be a simple matter of programming to detect the trusted-extension case and handle it differently. A larger task would be to go carefully through the PostgreSQL Security Considerations for Extension Scripts and make sure that everything PL/Java is doing at installation time is as compliant as possible. That would be a worthwhile review in any case, but especially important before approving a For example, |
I am trying to build and install 1.6.2 with PG13 on ubuntu 21.04.
when the user had superuser role, the installation was successful.
When trying to install without superuser role, I got the following error:
I have already added 'trusted = true' in pljava.control.
The text was updated successfully, but these errors were encountered: