-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recordings are not saved with the error "Permission denied" when "Automatically save files" is on #175
Comments
Hi, thank you for liking my app and your issue report, it makes me even motivated for the development of this app. 😊 Would you tell me more detailed information so that we can dig into this issue, like a screenshot of the Welcome view (where the app shows when it launches)? Also, I'd like to know what the "permission denied error" looks like; I assume it would be an error message shown in the terminal, but could you paste that message here? |
Thank you for your information, they would help our investigation. Another thing I'd like to ask you is: is the "Automatically save files" switch turned off? I assume that switch should be off by default and you turned it on and select the And another thing I'm wondering is that your recording destination should be |
You are correct. I have selected that in the previous version and it was kept when updated. Sorry for the confusion, I swapped the path after the screenshot just to get to a folder in home where permissions were clearer just to be sure. |
Nice, thank you for your information! According to these information you shared, it seems like the recordings don't saved due to the lack of permission. Reco should get access permission to the location where user selected in the file chooser, and it works on elementary OS (which built on Ubuntu), but looks like it don't work on Ubuntu―I was also able reproduce the issue finally: In case you need a quick fix for this issue, here is the commands:
and then run the app again. Note that the first |
Thanks for the quick fix, works great! Maybe just add a default save directory inside the sandbox and provide instructions on how to give permissions outside the sandbox if needed. That way it will work by default, but also remain flexible otherwise. If I can just pick your brain for a quick feature request, it would be nice to have some sort of indication of signal, maybe just a little red light when there is speech, something... because I just made a recording without my microphone plugged in and didn't even notice until I saw the file size :) |
Actually this was the behavior until the previous version―Reco has write access to the entire home directory, and uses Note that both the previous version and the current version works as expected on elementary OS, so there might be some difference between it and Ubuntu…… 🤔
Nice, you're right, it would help us to know if the recording is ongoing successfully. I'll create a separate issue for this, thank you for your feature request too! |
Just to point out that I'm using the latest ubuntu 22.04, and elementary (6) is based on the previous LTS (20.04). I used to use elementary, but couldn't gel with the first release of elementary 6 on my touchscreen and went back to ubuntu. But there are likely several differences between ubuntu 20.04 vs 22.04 Thanks for all your work on this! |
I just want to add another clue that may be useful here: I have installed the flatpak on my Pop!_OS (Ubuntu-based) machine and there is no permission issue when the "Automatically save files" checkbox is OFF. However, when it is ON, there is a permission issue. This surprised me, because I expected that if it was a permissions issue, the destination folder would consistently reject the file and raise an exception. I guess flatpak must get permission differently if it is through the "Save as" file chooser vs. automatically saving a file. |
The Flatseal tool can adjust Reco's Filesystem permissions so it can access "All userfiles" in the user home directory. That worked for me. |
Pop 22.04 has this permission issue. The "sudo flatpak override --filesystem=/path/to/your/recording/destination com.github.ryonakano.reco" suggestion did not work for me, but @johnblommers idea did. Used Flatseal to allow access to user files. Thanks for a cool app and thanks to John for his suggestion. |
A temporary workaround of ryonakano/reco#175 while investigating it
Hi, thank you very much for all who commented to this issue! I investigated this issue today and finally I got the reason of issues. SummaryOn Reco, recordings are not saved with the error "Permission denied" only when ReasonBecause the selected folder is not set as writable, due to an issue of GNOME ( This issue was fixed in this change but only available GNOME >= 44 Affected versions
elementary OS is also based on Ubuntu but is not affected, because they don't use WorkaroundYou can:
Unfortunately there is no "perfect fix" to do in the scope of Reco since this is an issue of GNOME itself. However, Reco published on Flathub now has write access to Home folder by default (this fix) so you don't need the above workaround unless you save to other place like external drive. |
Hi,
I was using your software quite successfully on Ubuntu 22.04. I like the simplicity and the autosave. Unfortunately it self-updated and it stopped saving files. Opening it through the command line shows a permission denied error when saving.
I'm just puzzled as to why this would appear now.
Thanks for any hints
The text was updated successfully, but these errors were encountered: