Bios-Marcel / cordless

The Discord terminal client you never knew you wanted.
BSD 3-Clause "New" or "Revised" License
1.65k stars 135 forks source link

file-send: Error reading the file: permission denied ( But file is read-write for all groups ) #340

Closed arthurbacci closed 4 years ago

arthurbacci commented 4 years ago

How have you installed cordless

What happened

I pressed Alt + . and typed file-send /home/arthur/Vídeos/vokoscreen-2020-09-23_15-00-49.mp4 and this gives me a permission denied error, but the file is 444, and to verify I typed sudo chmod 444 /home/arthur/Vídeos/vokoscreen-2020-09-23_15-00-49.mp4 and the error continues.

System information

Key Value
OS Linux Mint 19.3 Tricia - GNU/Linux
Architecture x86_64
Terminal cool-retro-term, but does not worked in xfce4-terminal too
Go version No go
Bios-Marcel commented 4 years ago

That's because it is running via snap, I am unsure how to solve this tbh. A solution would be running in classic (unconfined) mode. Afaik there's no way to ask for arbitrary filesystem permissions during runtime.

arthurbacci commented 4 years ago

That's because it is running via snap, I am unsure how to solve this tbh. A solution would be running in classic (unconfined) mode. Afaik there's no way to ask for arbitrary filesystem permissions during runtime.

Oh, thank you. I will compile from the source. It will be good if you add this information in the error message. Like: If the file exists, is probally that this is because of snap