I have tried to fetch /etc/resolv.conf by open("/etc/resolv.conf", 0644)
开发者_StackOverflow中文版but it return -1 and the errno is 2 which means "no such file"
what can I do?
You can't access files outside your Application's sandbox.
I have tried to fetch /etc/resolv.conf by open("/etc/resolv.conf", 0644)
开发者_StackOverflow中文版but it return -1 and the errno is 2 which means "no such file"
what can I do?
You can't access files outside your Application's sandbox.
精彩评论