Bug 466728 - KAutoSave exceeds maximum file length on ecryptfs
Summary: KAutoSave exceeds maximum file length on ecryptfs
Status: REPORTED
Alias: None
Product: frameworks-kcoreaddons
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.103.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-02 17:10 UTC by Jarno van der Kolk
Modified: 2023-03-02 17:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarno van der Kolk 2023-03-02 17:10:29 UTC
SUMMARY
I'm using Kdenlive on a user home partition that is encrypted with ecryptfs. Kdenlive uses KAutoSave to autosave the project. However, when ecryptfs also encrypts filenames, they become longer on the underlying file system (ext4 in my case).

STEPS TO REPRODUCE
1. Start Kdenlive
2. Have a project saved in a folder like "OneDrive/video/Seminar Series/2023-02-28 GPU Programming"
3. Edit the project

OBSERVED RESULT
After every edit, Kdenlive outputs an error saying that autosave failed.

EXPECTED RESULT
Autosave should work

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.013.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I think it's related to this older (and resolved) bug report: https://bugs.kde.org/show_bug.cgi?id=412519
The final comment in that thread points to a fix in KAutoSave to deal with too long path names. However, ecryptfs only supports filenames that are shorter than FILENAME_MAX which I assume is a fixed length.