Tacsipacsi created this task. Tacsipacsi added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Currently daemonize.py <https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/pywikibot/daemonize.py;f40de068748b$51> uses the Python default permissions of 0777 <https://docs.python.org/3.8/library/os.html#os.open> when creating daemon logs (requested with the `-daemonize:xxx` command-line argument). These logs are not script files or other executable files, so having them the executable bit set is unnecessary (and makes it more difficult to find real executables in `ls` output when executable files are highlighted in color); in extreme cases it may even cause security risks if users are tricked into executing appropriately prepared logs. It should use a more sensitive value, like 0666 or 0644. TASK DETAIL https://phabricator.wikimedia.org/T253472 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tacsipacsi Cc: Aklapper, pywikibot-bugs-list, Tacsipacsi, JohnsonLee01, Dijkstra, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
