Bug 219261 - KSaveFile::backupFile doesn't seem to respect group in file mode
Summary: KSaveFile::backupFile doesn't seem to respect group in file mode
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdecore (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-19 01:09 UTC by Robby Stephenson
Modified: 2024-09-14 17:06 UTC (History)
0 users

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 Robby Stephenson 2009-12-19 01:09:52 UTC
Version:            (using KDE 4.3.4)
Installed from:    openSUSE RPMs

This might be a "feature" or intended function of the KSaveFile::backupFile() method, but its different than my expectation.

The backup file, simply backup file in my case with a ~ suffix, doesn't have the same group ownership as the original file.

After saving a file (with Tellico) in group 'video' (just for testing), the backup file has the default group of 'users'. The 'robby' user is a member of both groups.

robby@homebase:~/tmp> ls -l tctmp1.tc*
-rw------- 1 robby video 152070 2009-12-18 16:10 tctmp1.tc
-rw------- 1 robby users 152063 2009-12-18 16:10 tctmp1.tc~

Is that intended? I would expect the backup file to have identical ownership as the original one, at least as much as possible.
Comment 1 Christoph Cullmann 2024-09-14 17:06:57 UTC
Hi,

kdelibs (version 4 and earlier) is no longer maintained since a few years.

KDE Frameworks 5 or 6 might already have resolved this bug.

If not, please re-open against the matching framework if feasible or against the application that shows the issue.

We then can still dispatch it to the right Bugzilla product or component.

Greetings
Christoph Cullmann