jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/464943 )
Change subject: Change default file mode for private files to 600 ......................................................................
Change default file mode for private files to 600
Previous mode was 700, which caused the user-password.py to be "executable" in theory. As it have no shebang, kernel won't know how to execute that script.
Bug: T206385 Change-Id: If8a940ea6588abbb08cf8fefd0a646db80081efb --- M pywikibot/config2.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Dvorapa: Looks good to me, but someone else must approve Framawiki: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/config2.py b/pywikibot/config2.py index 2301de9..0dafa88 100644 --- a/pywikibot/config2.py +++ b/pywikibot/config2.py @@ -269,7 +269,7 @@ # stat.S_IROTH 0o004 read permission for others # stat.S_IWOTH 0o002 write permission for others # stat.S_IXOTH 0o001 execute permission for others -private_files_permission = stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR +private_files_permission = stat.S_IRUSR | stat.S_IWUSR
# Allow user to stop warnings about file security # by setting this to true.
pywikibot-commits@lists.wikimedia.org