On Tuesday 15 December 2009, you wrote:
> Package: tellico
> Version: 2.1.1-2
> Severity: normal
> 
> As said in the subject, the mode (kde expression is "permissions") of
> backup files is set to 777.
> 
> I locate the bug (line 254 in src/core/filehandler.cpp) but as it uses
> the KDE "gedöns" KIO::* and KFileItem::* I do not know how to patch that
> correctly. However, KIO::chmod(..., -1, 0, ...) seems to be not the
> correct way.

Oh, you're right, the KIO::chmod is messing thing up. I'll remove that.

All the permissions are handled within KSaveFile::backupFile(...)

Everything seems to work if the backup file exists already with the correct 
permissions.

ro...@homebase:~/documents> ls -l books.tc*
-rw-r--r-- 1 robby users 152041 2009-12-15 06:51 books.tc
-rw-r--r-- 1 robby users 152046 2009-12-15 06:51 books.tc~

Robby



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to