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

文件下载报错:.temp文件问题 #737

Open
zouliujun opened this issue Jun 20, 2022 · 1 comment
Open

文件下载报错:.temp文件问题 #737

zouliujun opened this issue Jun 20, 2022 · 1 comment

Comments

@zouliujun
Copy link

版本:3.9.0
报错信息:
android.system.ErrnoException: open failed: EPERM (Operation not permitted
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8183)
at libcore.io.IoBridge.open(IoBridge.java:478)
Caused by: java.io.FileNotFoundException: /storage/emulated/0/xxx.xlsx.tmp: open failed: EPERM (Operation not permitted)
at libcore.io.IoBridge.open(IoBridge.java:492)
at java.io.FileOutputStream.(FileOutputStream.java:236)
at org.xutils.http.loader.FileLoader.load(FileLoader.java:116)
at org.xutils.http.loader.FileLoader.load(FileLoader.java:242)
at org.xutils.http.loader.FileLoader.load(FileLoader.java:41)
at org.xutils.http.request.UriRequest.loadResult(UriRequest.java:79)
at org.xutils.http.request.HttpRequest.loadResult(HttpRequest.java:296)
at org.xutils.http.HttpTask$RequestWorker.request(HttpTask.java:601)
at org.xutils.http.HttpTask.doBackground(HttpTask.java:298)
at org.xutils.common.task.TaskProxy$1.run(TaskProxy.java:73)
at org.xutils.common.task.PriorityRunnable.run(PriorityRunnable.java:21)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)

@wyouflf
Copy link
Owner

wyouflf commented Aug 26, 2022

权限不足

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

2 participants