Bug 481103 - flatpak installation on Ubuntu - after loading files from directory, cannot save.
Summary: flatpak installation on Ubuntu - after loading files from directory, cannot s...
Status: RESOLVED NOT A BUG
Alias: None
Product: kgeotag
Classification: Applications
Component: General (other bugs)
Version First Reported In: 1.5.0
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Tobias Leupold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-09 01:25 UTC by Kim
Modified: 2024-02-10 20:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim 2024-02-09 01:25:09 UTC
SUMMARY

Using the flatpak v1.5.0 on Ubuntu, and loading files from directory ("file->Add all images and tracks from a folder") it will load all files, but after tagging, cannot save them.
Using kgeotag v1.4.0 ubuntu .deb from repository for ubuntu 23.10, all works as expected
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Kim 2024-02-09 01:31:08 UTC
flatpak installation on ubuntu 22.04 read all files from directory reads OK, from /run/user/1000/doc/70be0a1a/Photos/IMG_20170827_132616.jpg (eg)

tries to write back to /run/flatpak/doc/70be0a1a/Photos/IMG_20160921_143850.jpg.orig which does not exist

installation of version 1.4.0 from ubuntu repositories on 23.10 works perfectly.
Comment 2 Tobias Leupold 2024-02-09 11:25:26 UTC
Sorry, I can't help here … I have nothing to do with the Flatpak packaging. Esp. if the normal distribution package works as expected, it's likely a Flatpak issue … hopefully, someone who has some insight of Flatpak can help here?!
Comment 3 Tobias Leupold 2024-02-09 11:27:57 UTC
Did you try Ubuntu's 1.5.0 package? The distribution-specific one? Just to check if this one works?!
Comment 4 Tobias Leupold 2024-02-09 12:05:38 UTC
I just tried KGeoTag 1.5.0 installed from FlatHub on my Gentoo system. Works as expected.

Maybe this is a local problem on your machine? Some permissions not set?!
Comment 5 Kim 2024-02-10 20:01:16 UTC
SOLVED
I used flatseal to add host file permissions and now it works as expected, so no problem with kgeotag, just another system to learn.
Can also use "sudo flatpak override [app id] --filesystem=host"
Thanks for the tips
Comment 6 Tobias Leupold 2024-02-10 20:18:51 UTC
Thanks for the update. I'm closing this then :-)