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

关于es读取ik插件得配置文件权限问题 #384

Closed
401825317 opened this issue Jun 12, 2017 · 8 comments
Closed

关于es读取ik插件得配置文件权限问题 #384

401825317 opened this issue Jun 12, 2017 · 8 comments

Comments

@401825317
Copy link

java.security.AccessControlException: access denied ("java.io.FilePermission" "C
:\Program%20Files\elasticsearch-5.4.0-1TEST\plugins\ik\config\IKAnalyzer.cfg.xml
" "read")

为什么会这样?win7没有问题,windows server 2012 R2就存在这样得问题??

@401825317
Copy link
Author

问题已经解决了,windows server 2012 R2 得文件路径中不能带有空格啊!!!!文件路径中不能带有空格啊!!!!文件路径中不能带有空格啊!!!!文件路径中不能带有空格啊!!!!文件路径中不能带有空格啊!!!!文件路径中不能带有空格啊!!!!文件路径中不能带有空格啊!!!!文件路径中不能带有空格啊!!!!

@zweite
Copy link

zweite commented Jun 22, 2017

java: 这锅我来背

@medcl
Copy link
Member

medcl commented Jun 22, 2017

那我关了啊

@medcl medcl closed this as completed Jun 22, 2017
@yuhuanxi
Copy link

yuhuanxi commented Jul 1, 2017

别关啊,MAC 上也有这个问题啊

@zweite
Copy link

zweite commented Jul 1, 2017

@yuhuanxi 你问题都没描述,应该是不一样的问题

@yuhuanxi
Copy link

yuhuanxi commented Jul 1, 2017

您好,是和他一样的问题,一模一样,给您看截图error
,在创建 mapping 的时候出现的

@yuhuanxi
Copy link

yuhuanxi commented Jul 1, 2017

@zweite 我刚刚才想到是路径的问题,原来的路径中含有中文,刚换了个安装路径就好啦。感谢回复!

@GhostAdults
Copy link

同样的 win10当中也是这样的问题,路径中不能带有空格,否则会出现没有权限无法读取插件的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants