Platonides created this task.
Platonides added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
When pywikibot/config.py creates a ~/.pywikibot folder, it does so with mode
0600, whereas it should be 0700.
On line 350) it is doing
python
os.makedirs(dir_s, mode=private_files_permission)
with private_files_permission defined on line 255 as
python
private_files_permission = stat.S_IRUSR | stat.S_IWUSR
These make sense for _files_ permissions, but for a folder it should include
stat.S_IXUSR (+x) as well
I suppose it would probably need a line
python
private_directories_permission = stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR
used for this
TASK DETAIL
https://phabricator.wikimedia.org/T315045
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Platonides
Cc: Aklapper, Platonides, pywikibot-bugs-list, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS,
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]