| Dvorapa added a comment. |
The issue is inside the Python library itself (http.cookiejar): https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/pywikibot/comms/http.py$97 -> https://github.com/python/cpython/blob/3.7/Lib/http/cookiejar.py#L1872. The library nicely creates (saves) file in 644 mode.
The library doesn't have any parameter for permissions change, therefore we can a) fill in a Python issue (all versions in 2.x and 3.x are incorrect) or b) create an empty file with correct permissions before.
TASK DETAIL
EMAIL PREFERENCES
To: Dvorapa
Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Urbanecm, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Urbanecm, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
