Error if the destination is on another disk in linux
morpheus-30 opened this issue · comments
Nakshatr-ayo commented
Describe the bug
"PathAccessException: Cannot open file, path = '/run/user/1000/doc/fb0c9f16/New Volume1/mo575ew2hdkc1.png' (OS Error: Permission denied, errno = 13)" occurs when the destination of the file is set to another disk
To reproduce
- select a file from android/ any other device to send
- receive in your linux machine
- set the destination to another disk
- PathAccessException: Cannot open file, path = '/run/user/1000/doc/fb0c9f16/New Volume1/mo575ew2hdkc1.png' (OS Error: Permission denied, errno = 13)
Expected behavior
The file should be received successfully
Screenshots
Desktop (please complete the following information)
- Pop!_OS 22.04 LTS
Smartphone (please complete the following information)
No response
Additional context
No response
Tien Do Nam commented
How did you installed LocalSend? It seems that LocalSend doesn't have write permissions
Nakshatr-ayo commented
flatpak
Nakshatr-ayo commented
If I build it from the source code then it works fine, any way to give permissions to the flatpak version?
Tien Do Nam commented
By default, the flatpak version only has access to the "Dowloads" folder. You need to add full access: #256