<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 27 Jan, 2021, 3:44 pm ValdikSS, <<a href="mailto:iam@valdikss.org.ru">iam@valdikss.org.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
It seems that Android 10 changed storage access, making KDE connect <br>
unable to receive sent files to default /storage/emulated/0/Download <br>
path. It fails with error, the following is seen in logcat:<br>
<br>
1-26 18:54:55.564  6617 13058 W DocumentFile: Failed to createFile: <br>
java.io.IOException: Permission denied<br>
01-26 18:54:55.565  6617 13058 E Shareplugin: Error receiving file<br>
01-26 18:54:55.565  6617 13058 E Shareplugin: <br>
java.lang.RuntimeException: Cannot create file boarding-pass.pdf<br>
01-26 18:54:55.565  6617 13058 E Shareplugin:   at <br>
org.kde.kdeconnect.Plugins.SharePlugin.CompositeReceiveFileJob.getDocumentFileFor(CompositeReceiveFileJob.java:267)<br>
01-26 18:54:55.565  6617 13058 E Shareplugin:   at <br>
org.kde.kdeconnect.Plugins.SharePlugin.CompositeReceiveFileJob.run(CompositeReceiveFileJob.java:140)<br>
01-26 18:54:55.565  6617 13058 E Shareplugin:   at <br>
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)<br>
01-26 18:54:55.565  6617 13058 E Shareplugin:   at <br>
java.util.concurrent.FutureTask.run(FutureTask.java:266)<br>
01-26 18:54:55.565  6617 13058 E Shareplugin:   at <br>
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)<br>
01-26 18:54:55.565  6617 13058 E Shareplugin:   at <br>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)<br>
01-26 18:54:55.565  6617 13058 E Shareplugin:   at <br>
java.lang.Thread.run(Thread.java:919)<br>
<br>
When I tick "Customize destination directory" checkbox and select <br>
Download path, the path is shown as "/tree/primary:Downloa" (check the <br>
attachment screenshot). This way it works perfectly fine.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This fixes the receive file issue for me as well. Can confirm this is a bug (using the build from FDroid here too).</div><div dir="auto"><br></div><div dir="auto">However, a better place for this discussion would be <a href="http://bugs.kde.org">bugs.kde.org</a> . Can you please file a bug over there so we can fix it duly? (:</div><div dir="auto"><br></div><div dir="auto">Best</div><div dir="auto">Piyush Aggarwal</div><div dir="auto"><a href="http://tm9k1.github.io">tm9k1.github.io</a></div><div dir="auto"><br></div></div>