xlmnxp / blue-recorder

Simple Screen Recorder written in Rust based on Green Recorder
Other
498 stars 27 forks source link

Cannot write output to /tmp directory with flatpak #65

Closed mr337 closed 2 months ago

mr337 commented 2 months ago

Version: 0.2.0 via flatpak

When setting do a different directory than default get the following error when trying to record. In this case was trying to have output to /tmp.

/run/user/1000/doc/9deee15e/tmp/testgif.mp4.temp.without.audio.mp4: Permission denied

Using the default directory of Video does seem to work. I don't have a Video directory but still write the final file to my home directory.

xlmnxp commented 2 months ago

look like blue recorder don't have permission to write to that directory (maybe because it isolated in flatpak)

as solution you can mount the directory to blue recorder using flatpak https://docs.flatpak.org/en/latest/sandbox-permissions.html

mr337 commented 2 months ago

That is fantastic, I think I maybe used to snaps where the dev or maintainer can only tweak/grant settings.

Thanks!

xlmnxp commented 2 months ago

you are welcome