FS#56910 - [kibana] Permission denied to mkdir under "plugins" while installing plugins as kibana user

Attached to Project: Community Packages
Opened by nicholas (nicholas) - Saturday, 30 December 2017, 20:52 GMT
Last edited by Toolybird (Toolybird) - Sunday, 04 December 2022, 02:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When logged in as the kibana user, plugins fail to install because the package's "/usr/share/kibana/plugins" dir is owned by root.

Additional info:
* Version 6.1.1-1
* Default config (fresh install)

Steps to reproduce:

$ sudo -su kibana
$ ./bin/kibana-plugin install conveyor
DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Plugin installation was unsuccessful due to error "EACCES: permission denied, mkdir '/usr/share/kibana/plugins/.plugin.installing'"

Additional Notes:
This masks another bug, for me. I get the following after changing permissions:
'Plugin installation was unsuccessful due to error "No valid url specified."'
I don't think this is Arch specific though.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 04 December 2022, 02:53 GMT
Reason for closing:  None
Additional comments about closing:  Was dropped to the AUR 2022-01-08

Loading...