Skip to content
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

Plugins need a temp dir kibana user can write to #7157

Closed
LeeDr opened this issue May 9, 2016 · 1 comment
Closed

Plugins need a temp dir kibana user can write to #7157

LeeDr opened this issue May 9, 2016 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience

Comments

@LeeDr
Copy link

LeeDr commented May 9, 2016

Kibana needs a temp dir (owned by kibana user) for plugins to write to.

I'll make a separate issue for the reporting plugin in x-plugins to USE that temp dir.

This is the ownership of the dirs in kibana on Ubuntu after a 5.0.0-alpha2 install;

root@U14K:~/kibana# ls -l /opt/kibana/
total 44
drwxr-xr-x  2 root   root 4096 May  9 14:03 bin
drwxrwxr-x  2 root   root 4096 May  9 14:09 config
drwxrwxr-x  4 root   root 4096 May  9 14:07 installedPlugins
-rw-rw-r--  1 root   root  563 May  3 12:11 LICENSE.txt
drwxrwxr-x  6 root   root 4096 May  9 14:03 node
drwxrwxr-x 88 root   root 4096 May  9 14:03 node_modules
drwxrwxr-x  3 kibana root 4096 May  9 14:03 optimize
-rw-rw-r--  1 root   root  708 May  3 12:11 package.json
-rw-rw-r--  1 root   root 2446 May  3 12:11 README.txt
drwxr-xr-x  9 root   root 4096 May  9 14:03 src
drwxr-xr-x  2 root   root 4096 May  9 14:03 webpackShims
@LeeDr LeeDr added bug Fixes for quality problems that affect the customer experience P2 labels May 9, 2016
@w33ble
Copy link
Contributor

w33ble commented May 24, 2016

#7275 is a consideration, as anything we create will need to work in the os packages as well.

#6674 fixes some permissions on optimize, and will have to be done with whatever target path we create here as well.

According to elastic/logstash#5101, Logstash has a state/directory thing they've had to manage and move around as well. Probably worth chatting with some of them to see what they are storing and how they handle it.

jbudz added a commit that referenced this issue Jun 21, 2016
---------

**Commit 1:**
[build] Add data directory that plugins can write to.  Closes #7157

* Original sha: 5b19534
* Authored by Jonathan Budzenski <[email protected]> on 2016-06-14T16:50:40Z

**Commit 2:**
[config] Add path.conf, path.data

* Original sha: 16e8975
* Authored by Jonathan Budzenski <[email protected]> on 2016-06-16T16:17:51Z
airow pushed a commit to airow/kibana that referenced this issue Feb 16, 2017
jbudz added a commit that referenced this issue Sep 18, 2023
EUI `88.2.0` ➡️ `88.3.0`

## [`88.3.0`](https://github.com/elastic/eui/tree/v88.3.0)

- `EuiGlobalToastList` now shows a "Clear all" button by default once
above a certain number of toasts (defaults to 3). This threshold is
configurable with the `showClearAllButtonAt` prop
([#7111](elastic/eui#7111))
- Added an optional `onClearAllToasts` callback to `EuiGlobalToastList`
([#7111](elastic/eui#7111))
- Added the `value`, `onChange`, and `onCancel` props that allow
`EuiInlineEdit` to be used as a controlled component
([#7157](elastic/eui#7157))
- Added `grabOmnidirectional`, `transitionLeftIn`, `transitionLeftOut`,
`transitionTopIn`, and `transitionTopOut` icon glyphs.
([#7168](elastic/eui#7168))

**Bug fixes**

- Fixed `EuiInlineEdit` components to correctly spread `...rest`
attributes to the parent wrapper
([#7157](elastic/eui#7157))
- Fixed `EuiListGroupItem` to correctly render the `extraAction` button
when `showToolTip` is also passed
([#7159](elastic/eui#7159))

**Dependency updates**

- Updated `@hello-pangea/dnd` to v16.3.0
([#7125](elastic/eui#7125))
- Updated `@types/lodash` to v4.14.198
([#7126](elastic/eui#7126))

**Accessibility**

- `EuiAccordion` now correctly respects reduced motion settings
([#7161](elastic/eui#7161))
- `EuiAccordion` now shows a focus outline to keyboard users around its
revealed children on open
([#7161](elastic/eui#7161))

**CSS-in-JS conversions**

- Converted `EuiSplitPanel` to Emotion
([#7172](elastic/eui#7172))


⚠️ As a quick heads up, serverless tests appear to have been extremely
flake/failure-prone the last couple weeks, particularly Cypress tests.
We've evaluated the listed failures and fixed ones that were related to
changes in this PR, and we're relatively confident the remaining
failures are not related to changes from EUI. Please let us know if you
think this is not the case.

---------

Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Cee Chen <[email protected]>
Co-authored-by: Jon <[email protected]>
jbudz added a commit that referenced this issue Sep 20, 2023
⚠️ NOTE: This PR is a copy of #166292 (which was reverted due to failing
Storybook builds). This is the same exact PR but with Storybook building
fixed.

---

EUI `88.2.0` ➡️ `88.3.0`

## [`88.3.0`](https://github.com/elastic/eui/tree/v88.3.0)

- `EuiGlobalToastList` now shows a "Clear all" button by default once
above a certain number of toasts (defaults to 3). This threshold is
configurable with the `showClearAllButtonAt` prop
([#7111](elastic/eui#7111))
- Added an optional `onClearAllToasts` callback to `EuiGlobalToastList`
([#7111](elastic/eui#7111))
- Added the `value`, `onChange`, and `onCancel` props that allow
`EuiInlineEdit` to be used as a controlled component
([#7157](elastic/eui#7157))
- Added `grabOmnidirectional`, `transitionLeftIn`, `transitionLeftOut`,
`transitionTopIn`, and `transitionTopOut` icon glyphs.
([#7168](elastic/eui#7168))

**Bug fixes**

- Fixed `EuiInlineEdit` components to correctly spread `...rest`
attributes to the parent wrapper
([#7157](elastic/eui#7157))
- Fixed `EuiListGroupItem` to correctly render the `extraAction` button
when `showToolTip` is also passed
([#7159](elastic/eui#7159))

**Dependency updates**

- Updated `@hello-pangea/dnd` to v16.3.0
([#7125](elastic/eui#7125))
- Updated `@types/lodash` to v4.14.198
([#7126](elastic/eui#7126))

**Accessibility**

- `EuiAccordion` now correctly respects reduced motion settings
([#7161](elastic/eui#7161))
- `EuiAccordion` now shows a focus outline to keyboard users around its
revealed children on open
([#7161](elastic/eui#7161))

**CSS-in-JS conversions**

- Converted `EuiSplitPanel` to Emotion
([#7172](elastic/eui#7172))

---------

Co-authored-by: Bree Hall <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Jon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience
Projects
None yet
Development

No branches or pull requests

2 participants