localsend / localsend

An open-source cross-platform alternative to AirDrop

Home Page:https://localsend.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error if the destination is on another disk in linux

morpheus-30 opened this issue · comments

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
image
image

To reproduce

  1. select a file from android/ any other device to send
  2. receive in your linux machine
  3. set the destination to another disk
  4. 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

image

Desktop (please complete the following information)

  • Pop!_OS 22.04 LTS

Smartphone (please complete the following information)

No response

Additional context

No response

How did you installed LocalSend? It seems that LocalSend doesn't have write permissions

flatpak

If I build it from the source code then it works fine, any way to give permissions to the flatpak version?

By default, the flatpak version only has access to the "Dowloads" folder. You need to add full access: #256