[Tellico-users] backup tellico file with 777 rights

View: New views
2 Messages — Rating Filter:   Alert me  

[Tellico-users] backup tellico file with 777 rights

by Jerome Quelin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

since tellico 2.0 [*], the backup file .tc~ created during save is
created with 777 rights (rwxrwxrwx) which is wrong.

it should (at least) respect umask, at best duplicate the original file
reights.

[*] note that i also switched to a "all images in the zip" option in
order to be able to import / export my old file, so i don't know what is
the culprit

jérôme
--
jquelin@...
_______________________________________________
tellico-users mailing list
tellico-users@...
https://mail.kde.org/mailman/listinfo/tellico-users

Re: [Tellico-users] backup tellico file with 777 rights

by robbystephenson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 02 October 2009, Jerome Quelin wrote:
> hi,
>
> since tellico 2.0 [*], the backup file .tc~ created during save is
> created with 777 rights (rwxrwxrwx) which is wrong.
>
> it should (at least) respect umask, at best duplicate the original file
> reights.

Tellico uses the KSaveFile class, from kdelibs, so in theory, I think should
honor umask. But it's out of my hands. I'll try to test further to see if
somehow I'm using the library wrong.

> [*] note that i also switched to a "all images in the zip" option in
> order to be able to import / export my old file, so i don't know what is
> the culprit

As a side note, you  can run File->Export->Zip to make a full archive file,
too.

Robby


_______________________________________________
tellico-users mailing list
tellico-users@...
https://mail.kde.org/mailman/listinfo/tellico-users