Elasticsearch无法以“权限读取”错误开始

时间:2019-05-23 18:10:56

标签: java security ubuntu elasticsearch permissions

我在Multiply(X, Y, Z, &A[0][0], &B[0][0], &C[0][0])处有一个符号链接,该链接指向Ubuntu 16.04 LTS Azure VM上float处已安装的驱动器。尝试启动elasticsearch时,出现以下权限错误:

import re
question = "patient is POS which makes them ideal to treatment. And the the positive"
find=["pos","POS","positive"]

words=re.findall("\n+",question)
result = [words   for words in find if words in question.split()]
print(result)
['POS', 'positive']

已安装的驱动器具有以下权限:
/etc/elasticsearch/analysis

符号链接具有以下权限:

/elasticdata/fileshare/analysis

TLDR:Symlink由Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "/etc/elasticsearch/analysis" "read") 用户和用户组拥有,似乎具有读取权限,但是在Elasticsearch启动时仍然出现读取权限错误。

如何解决此权限错误?

0 个答案:

没有答案