Create Repository access denied


(Hilal) #1

hİ,

I am trying create repository for snapshot but I have a error.
I am using elasticsearch 2.0.0 on windosws 10.

my error is :

access denied ("java.io.FilePermission" "C:\Users\hilal\Desktop" "read\

What can I do?


(Magnus Bäck) #2

What user is ES running as? Possibly not related to this problem, but I suspect you may want to use forward slashes instead of backslashes.


(Hilal) #3

Thank you. I restarted my computer

My codes:

PUT _snapshot/my_backup
{
"type" : "fs",
"settings" : {
"location" : "/Users/hilal/Dekstop/backup"
}}

result :

{
"Acknowledged" : true
}


(system) #4