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.

--
To view, visit https://gerrit.wikimedia.org/r/464943
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If8a940ea6588abbb08cf8fefd0a646db80081efb
Gerrit-Change-Number: 464943
Gerrit-PatchSet: 1
Gerrit-Owner: Urbanecm <[email protected]>
Gerrit-Reviewer: Dvorapa <[email protected]>
Gerrit-Reviewer: Framawiki <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to