timetagger_cli icon indicating copy to clipboard operation
timetagger_cli copied to clipboard

timetagger_cli: filerights of ~/.config/timetagger_cli/config.txt sems to be incorrect

Open bastiane273 opened this issue 6 months ago • 0 comments

Hi, very nice idee to bring an cli tool. Also the ide of tagging and how you did solve the reports, is a great work.

One smal thing: If you make an timetagger setup. A file ~/.config/timetagger_cli/config.txt will be created. with 644 permission. This should be 600 at least 640.

Because with the URL and the apikey you are logged in.

I did a try. I did copy the config txt to an other linux server and tried timetagger status

El voila.

So please check in the ~/..config/timetagger_cli/setup.txt the rights

It seems to be here: https://github.com/almarklein/timetagger_cli/blob/main/timetagger_cli/config.py but my python is not good enough.

Greetings and Thank you for your sharing

bastiane273 avatar Aug 28 '24 23:08 bastiane273