-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Created unreadable backup library file #18760
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
Comments
Check your file permissions and the permissions of your backup software to access flatpack related files. |
This isn't helpful, I know how to change permissions, or delete the file. The permissions are here:
The file is created in this state by Darktable. |
According to this: darktable/src/common/database.c Lines 4153 to 4154 in 3e4211e
it is a flag to mark that backup is not needed. No idea why write-only permissions were chosen. |
@hadess You would like to have read access to this file just to get rid of complaints from your backup software, am I correct? |
Given how the file was created, I know how to do that for myself (I'll just I'm filing an issue because it's a problem in Darktable which every new user will run into. |
It’s a problem only when combined with your backup software, so far from every user will encounter it. And problem itself is very minor - just a warning. File is empty, so it not being readable doesn’t matter much… |
I agree with @hadess that it's inconvenient if a program (dt) creates files which do not have read permissions for some reason. Is there any sensible reason why the read permission flag is not set? |
I have this issue and it's wasted a lot of my time trying to figure it out. Please just fix the permissions so that users, who may not know how to change permissions, aren't burdened. |
Is there an existing issue for this?
Describe the bug
Darktable created a 0-sized file that's unreadable by my backup software:
Pika/Borg complain:
Steps to reproduce
Install Darktable from Flathub and run it.
I don't remember whether I might have installed Darktable previously, but in any case the library file is empty.
Expected behavior
File is readable or doesn't exist
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
Flatpak
darktable version
darktable 5.0.1
What OS are you using?
Linux
What is the version of your OS?
Fedora
Describe your system
No response
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
The text was updated successfully, but these errors were encountered: