Hi everyone,
I’m a long time custom rom user and also had e/OS on FP3+, where everything worked. I switched to a FP5 and installed e/OS again, but now the Threema app has permission issues storing pictures/media, both, the ones I send and the ones I receive (even to the ECHOECHO contact). Sending text messages works fine.
Device: FP5
Installed manually according to: Install /e/OS on a Fairphone FP5 - “FP5” including locking the bootloader again
e/OS version: 2.2-t-20240715417772-stable-FP5
App: Threema Libre installed via F-Droid
Permissions: For testing I gave the Threema app all permissions, but that didn’t help.
Problem (when enabling logging and checking the log file): Permission denied
Sat Aug 10 10:18:31 GMT+02:00 2024 ERROR FileServiceImpl: Exception
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively0(Native Method)
at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:317)
at java.io.File.createNewFile(File.java:1006)
at ch.threema.app.services.FileServiceImpl.writeConversationMedia(FileServiceImpl.java:904)
at ch.threema.app.services.FileServiceImpl.writeConversationMedia(FileServiceImpl.java:877)
at ch.threema.app.services.MessageServiceImpl.encryptAndSend(MessageServiceImpl.java:4134)
at ch.threema.app.services.MessageServiceImpl.sendMedia(MessageServiceImpl.java:3798)
at ch.threema.app.services.MessageServiceImpl.lambda$sendMediaAsync$24(MessageServiceImpl.java:3681)
at ch.threema.app.services.MessageServiceImpl.$r8$lambda$SejT_E-lTLYAgsh8QgoV_LuiOxQ(MessageServiceImpl.java:0)
at ch.threema.app.services.MessageServiceImpl$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:0)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
The problem does not go away when telling Threema to store images in the Gallery.
Any ideas why that permission denied occurs? Any ideas how I could further debug? Anyone else using Threema on FP5?