https://bugs.kde.org/show_bug.cgi?id=421478
Bug ID: 421478
Summary: Files written outside proper directories
Product: digikam
Version: 6.4.0
Platform: MS Windows
OS: MS Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: Setup-FirstRun
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When starting Digikam for the first time I selected the same directory X both
for the main collection path and the Database path (SQLite).
The installer kept saying I didn't have permission to write in this directory
and that I could experience problems, even blocking the configuration due to
the impossibility to create the database. This was wrong because my user was
the owner of directory X.
I gave Edit permissions on directory X/.. (the parent) to the same user and it
magically went on without problems.
That was probably because it had to write a couple empty files in the parent
directory.
They are called XeptCLB and XihdHtH, where X is the name of my directory.
Those files should not be written there IMO
STEPS TO REPRODUCE
1. Create the following hierarchy of directory:
Y -> user can only read content
Y/X -> user is the owner of that subdirectory
2. Run Digikam to use X as both main collection directory and database location
3. Experience installation forbidden and warning popups
4. Change Y permissions to add Edit
5. Re-run first time configuration without any problem
6. Find a couple empty files in Y
OBSERVED RESULT
Files created outside the proper directory
EXPECTED RESULT
No need to expand permissions and no files created outside X
SOFTWARE/OS VERSIONS
Windows: 10 Version 1903
KDE Frameworks 5.61.0
Qt 5.13.1 (built with 5.13.1)
--
You are receiving this mail because:
You are watching all bug changes.